Explanation
Four blocks
The table has four blocks.
The block is decided by the subshell where the last electron enters: s, p, d or f.
Period = highest shell
Period equals the highest shell number.
Chlorine ends in three p five. Highest shell is three, so period three.
Cl (Z = 17): 1s² 2s² 2p⁶ 3s² 3p⁵
The group rule
Group needs a small rule. For s-block, group equals valence electrons.
For p-block, add ten. For d-block, add the d electrons and the outer s electrons.
Chlorine's group
Chlorine has two plus five, seven outer electrons.
Ten plus seven: group seventeen.
Iron's home
Iron: three d six, four s two.
Six plus two is eight. Period four, group eight, d-block.
Worked example: Z = 35
Z equals thirty-five. Argon core, three d ten, four s two, four p five.
Highest shell four, last electron in p, so group ten plus seven: seventeen. That's bromine.