In the case of Cl and H, the Cl atom is more electronegative than the H atom, so it attracts the shared electron pair more strongly. This creates a polar covalent bond, with the Cl atom having a slight negative charge and the H atom having a slight positive charge.
The formation of a covalent bond between a Cl atom and an H atom can be represented using a Lewis structure. In a Lewis structure, the valence electrons of each atom are represented by dots, and lines represent bonds between atoms. The Lewis structure for HCl is:
```
H:Cl:
```
In this Lewis structure, the single line between the H and Cl atoms represents the covalent bond between them. The two dots on the Cl atom represent the two valence electrons that it shares with the H atom.
The formation of a covalent bond between a Cl atom and an H atom is an exothermic process, meaning that it releases energy. This energy is released because the atoms achieve a more stable configuration when they share electrons. The bond energy of the HCl molecule is 431 kJ/mol, which is a measure of the strength of the bond.