Adicionar ClassName ao Nó

element.classList.add("my-class");
Helpful Hawk