Question: compounds are ionic or molecular?
Answer: Molecular compounds are electrically neutral. Ionic compounds are (usually) formed when a metal reacts with a nonmetal (or a polyatomic ion). Covalent compounds are formed when two nonmetals react with each other. Since hydrogen is a nonmetal, binary compounds containing hydrogen are also usually covalent compounds.