Let us look at the examples below to visualize valence electrons. For the oxygen atom, the outermost shell, n = 2 has 6 electrons, so oxygen has 6 valence electrons. Neon has an atomic number of 10, so if you place the electrons around the nucleus, you will see that the outermost shell has 8 electrons.