Explain why fluorine and chlorine are in the same group of the periodic table.

Give the electronic structures of fluorine and chlorine in your explanation.