Potassium prefers to combine with elements that have seven electrons in their outer shells, such as chlorine and bromine. This is because potassium wants to lose its one outer-shell electron, and elements with seven outer-shell electrons want to gain one electron. This kind of bonding is called an ionic bond.