Question: how many electrons does chlorine have in its outermost shell?
Answer: One sodium (Na) atom gives it's electron to one chlorine (Cl) atom. Chlorine then has the eight electrons in its outer shell to make it "happy".