well depending on the elements, valence electrons that don’t have a complete outer shell are attracted to others to either steal or give away a valence electrons to have a complete shell, or they’ll share and form bonds...but the missing valence electrons depends on the elements