The elements in the same group in the periodic table has the same number of electrons in the outer shell. That means, they have the same number of valence electrons.