Answer:
each element gains one proton as you move from left to right across a period, atomic number is the number of protons
careful not to confuse it with the mass number which is the number of protons and neutrons.
also remember that in any given element, the proton number is always equal to electron number as they have opposite charges that cancel off, this is why elements are neutral.