how to select more than one element with same class js code example
Example: javascript select element with two classes
var element = document.querySelector(".class1.class2");
var element = document.querySelector(".class1.class2");