In terms of electronic configuration, what the elements of a given period and a given group have in common?

In a given period, the number of shells is equal and in a given group, the number of electrons in the valence shell is the same.