Explain the octet rule for the formation of a molecule of sodium chloride from sodium and chlorine atoms.
Explain :
(a) octet rule for formation of sodium chloride
(b) duplet rule for formation of hydrogen.