Elements were first classified into metals and non-metals based on their properties. Later, Mendeleev classified elements into periods and groups in his periodic table based on their atomic masses and properties of oxides and hydrides. Mendeleev's periodic table had vacant spaces that allowed for the prediction and discovery of new elements. However, some elements were not in strict atomic mass order and the positions of hydrogen and isotopes remained unclear.