Mendeleev arranged the 60 known elements at the time in order of atomic mass.
He also lined up the elements in groups with similar properties.
If the group properties did not fit, he swapped elements around and left gaps, assuming the atomic mass measurements were incorrect or elements were yet to be discovered.
He even predicted the properties of the missing elements from group trends