how many electrons does group 7 have in their outer shell?
The group number is 7 which indicates that halogen atoms contain seven electrons in the outer shell (energy level). In order to achieve stability and have the same structure as the nearest noble gas, these atoms gain a single electron (rather than losing seven electrons which would take much more energy).