Methane , for example , has one carbon atom and four hydrogen atoms .
Period 1 has only 2 elements in it : hydrogen and helium .