Examples of covalent bonding: (iv) A methane molecule (CH4)
The atomic number of hydrogen is 1 so it has 1 electron in its outer shell.
The atomic number of carbon is 6 so it has 4 electrons in its outer shell.
carbon can share 1 electron with each of 4 different hydrogen atom, which has the effect of allowing all atoms to have a complete outer shell.