The periodic table has no charge
Each element as shown in the periodic table has no charge. The periodic table is not positive or negative.
So if you know the number of protons an element has, its number of electrons has to be the same otherwise there would be a charge.