Electron shell #1 has the lowest energy and its s-orbital is the first to be filled. Shell #2 has four higher energy orbitals, the 2s-orbital being lower in energy than the three 2p-orbitals. (x, y & z). As we progress from lithium (atomic number=3) to neon (atomic number=10) across the second row or period of the table, all these atoms start with a filled 1s-orbital, and the 2s-orbital is occupied with an electron pair before the 2p-orbitals are filled. In the third period of the table, the atoms all have a neon-like core of 10 electrons, and shell #3 is occupied progressively with eight electrons, starting with the 3s-orbital. The highest occupied electron shell is called the valence shell, and the electrons occupying this shell are called valence electrons.
The chemical properties of the elements reflect their electron configurations. For example, helium, neon and argon are exceptionally stable and unreactive monoatomic gases. Helium is unique since its valence shell consists of a single s-orbital. The other members of group 8 have a characteristic valence shell electron octet (ns2 + npx2 + npy2 + npz2). This group of inert (or noble) gases also includes krypton (Kr: 4s2, 4p6), xenon (Xe: 5s2, 5p6) and radon (Rn: 6s2, 6p6). In the periodic table above these elements are colored beige.
The halogens (F, Cl, Br etc.)