 Covalent bonding takes place when one of the constituent atoms loses one or more electrons , with the other atom gaining the electrons , resulting in an electron cloud that is shared by the molecule as a whole . In both ionic and covalent bonding the location of the ions and electrons are constrained relative to each other , thereby resulting in the bond being characteristically brittle . 
