First an explanation in terms of ionization energy and electron affinity:
Metals have low ionization energies and readily form ions. Non-metals have high electron affinities- so put them together and electron transfer is favourable.
Two bonded non metals are generally covalent- their ionization energies are high.
Now an explanation in terms of electronegativity (electronegativity is related to ionization energy and elctron affinity)
metals have low electronegativity- non metals are comparativelly high. So electron transfer is likely.
Just a cautionary word about compounds of non metals never being ionic-- what about PBr5- a binary compound of two non metals- in the solid state this has the structure PBr4+ Br-...bit of a cheat really as there is a polyatomic ion in there but it is ionic!
C3H2OH is a molecular compound that is covalently bonded. Ionic compounds are typically formed between a metal and a nonmetal, whereas covalent compounds are formed between two nonmetals.
atoms of nonmetals covalently bonded
Newtons third law
Molecule (usually a gas).
Metals tend to lose electrons to achieve a stable configuration, while nonmetals tend to gain electrons. This electron transfer results in the formation of ionic compounds between metals and nonmetals. In contrast, two bonded nonmetals typically share electrons to achieve a stable electron configuration, leading to the formation of covalent bonds rather than ionic bonds.
Compounds with covalent bonds form molecules not ions Compounds consisting of non-metals bonded to nonmetals do not form ions
an molecule. Though if there are two or more different nonmetals it would not be an element but a compound.
A covalently bonded molecular compound
Covalent bonded compounds have generally lower melting and boiling points, are not hard, are less conductive etc.
hydrogen +1 in most of the compounds -1 in metal hydrides
Covalently bonded compounds are chemical compounds where atoms are held together by covalent bonds, which involve the sharing of electrons between the atoms. These compounds are typically formed between nonmetals and can exist as molecules or giant covalent structures. Examples include water (H2O) and methane (CH4).
Compounds containing nonmetals typically form covalent bonds, such as methane (CH4), water (H2O), and carbon dioxide (CO2). These compounds share electrons between atoms to achieve a stable electron configuration.