Answer:
Covalent compounds are between two nonmetals. These nonmetals share their valence electrons to fill their octets. They do this by forming a covalent bond.
Ionic compounds are usually between a nonmetal and a metal. They exchange their valence electrons to fill their octets. This exchange is made possible during an ionic bond.