Question: what is the relationship between the period number and the energy level of the valence electrons?
Answer: The energy level of an atom's valence electrons correspond to its period or horizontal row on the periodic table. Hydrogen and helium, both in the first period, have their valence electrons in the principal energy level n=1.