The atomic number, ZZZ, tells you how many protons an atom has. In a neutral atom, the number of electrons is also ZZZ, so sodium has 11 electrons and bromine has 35.
Step-by-step lessons on AQA AS Level Chemistry Electron configuration. Each one builds up to exam-style questions.