Periodic trends such as electronegativity, electron affinity, and ionization enthalpy affect bonding. These influence how easily an element can gain or lose an electron, and how well it attracts shared electrons in a covalent bond. An element's number of outer shell electrons also affects its bonding.