javascript get multiple elements by class code example
Example 1: javascript get element by class
var elementsArray = document.getElementsByClassName("someclassname");
Example 2: javascript get element by multiple class
var list = document.getElementsByClassName("class1 class2");
var list = document.querySelectorAll(".class1.class2");
Example 3: javascript get element by multiple class names
document.getElementsByClassName('class1 class2')