In a similar way, nonmetal atoms share electrons in the formation of a covalent bond in such a way that each of the atoms involved in the bond can attain a noble-gas electron configuration. For hydrog...In a similar way, nonmetal atoms share electrons in the formation of a covalent bond in such a way that each of the atoms involved in the bond can attain a noble-gas electron configuration. For hydrogen (H2), the shared pair of electrons means that each of the atoms is able to attain the electron configuration of helium, the noble gas with two electrons.