Fluorine has electronic configuration 2.7 and chlorine has electronic configuration 2.8.72.8.72.8.7.
Fluorine and chlorine have similar chemical properties because
their atoms have seven outer-shell electrons
their atoms form positive ions by losing electrons
their atoms already have complete outer shells
their atoms gain seven electrons when they react
101 exam-style questions on Edexcel GCSE Chemistry 2.2 The periodic table, covering 2.2.1 Mendeleev's periodic table, 2.2.2 Periods, groups, metals and non-metals, and 2.2.3 Electronic configuration and position in the periodic table. Each one has a worked solution and a mark scheme showing where the marks go.