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

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