Answer: Sodium element has 1 valence electron and chlorine element has 7 valence electrons.
Explanation:
Valence electrons are defined as the electrons that are present in the outermost shell.
An ionic compound is formed when the complete transfer of electrons takes place from one element (usually metals) to another element (usually non-metals).
To know this, we need to write the electronic configuration of each element.
Sodium is the 11th element of the periodic table and has an electronic configuration of [tex]1s^22s^22p^63s^1[/tex]
It has 1 valence electron
Chlorine is the 17th element of the periodic table and has an electronic configuration of [tex]1s^22s^22p^63s^23p^5[/tex]
It has 7 valence electrons
Hence, sodium element has 1 valence electron and chlorine element has 7 valence electrons.