The compound is ionic if it's made from metal and non-metal elements. If it's two non-metals, the bond is said to be covalent. Read more