In the following compound (NaCl), can you please tell me the following:

Is it an ionic or covalent compound?
How many valence electrons does Na have?
How many valence electrons does Chlorine have?
How many electrons are gained and lost by each atom