how to get classlist of multiple classes in javascript code example
Example 1: add multiple classList
element.classList.add(class1,class2,class3...);
Example 2: .classList
// .classList method returns an array of the classes attached to the element it is called with.
document.getElementById("myDIV").classList
// It returns
// [ 'className1', 'className2', ... ]