Why did Mendeleev put bromine (Br) and chlorine (Cl) in the same group on the periodic table

They have similar masses.

They have similar properties.

They are both gases.

They are similar alphabetically.