Covalent Bond
A covalent bond forms when nonmetal atoms share electron pairs. As the atoms approach, energy falls to a minimum at the bond length; too close, and repulsion rises again. Higher bond order means greater bond energy and shorter length, and electronegativity difference decides polar versus nonpolar. Here you change bond length and bond order to compare the energy curve and single, double, and triple bonds.