js loop through classlist code example
Example: javascript loop over classlist
var myElements = document.getElementsByClassName("some_class_name");
for(var i = 0; i < myElements.length; i++){
console.log(myElements[i]);
}
var myElements = document.getElementsByClassName("some_class_name");
for(var i = 0; i < myElements.length; i++){
console.log(myElements[i]);
}