using classList element property instead of className