The periodic table as a map of atomic structure
The periodic law states that the properties of elements and their compounds change periodically with atomic number. This happens because similar outer-electron arrangements repeat.
1. Position and electron structure
Atomic number $Z$ equals the number of protons and, in a neutral atom, the number of electrons. Electrons occupy energy levels or shells. For the first 20 elements a useful school model fills shells as 2, 8, 8, 2. The period number shows the number of occupied shells. For main-group elements, the group helps identify the number of valence electrons. Elements in one group therefore often form similar ions and compounds.