Answer:
They are salts, ionic compounds
Step-by-step explanation:
To know if they are covalent or ionic we need to check their difference in electronegativity. As an example mgcl2, mg has electronegativity of 1.2 and cl 3 so 3-1.2=1.8 which is bigger than 1.7 means it's ionic therefore they are salts