This should give you a ruff idea of what the difference is between ionic and covalent bonding.