The chemical bond present in methane (CH4) is covalent bond as a carbon atom shares its four valence electrons with four hydrogen atoms to form one methane molecule.
The chemical bond present in sodium chloride (NaCl) is ionic bond as a sodium atom transfers one electron to a chlorine atom to form the ionic bond in NaCl.