As you move across the periodic table from left to right, each element gains one proton and one electron. This is because the atomic number of an element is determined by the number of protons in its nucleus, and the number of electrons in an atom is equal to the number of protons. So, as you move across the periodic table, the number of protons in the nucleus increases by one for each element, and the number of electrons in the atom also increases by one.