Based on their locations in the periodic table, which two elements are most likely to form covalent bonds with each other?

A. nitrogen and oxygen
B. Sodium and bromine
C. magnesium and sulfur
D. potassium and iodine

My guess is A but I saw someone on here also say its B but instead of bromine it said chlorine, so I'm not really sure