What is the main difference in covalent boning within molecules of diatomic chlorine and diatomic oxygen?

The chlorine atoms share two electrons between themselves, while the oxygen atoms share four. This can alternatively be stated as a single bond between the two chlorine atoms and a double bond between the two oxygen atoms.