js get elements by multiple classes code example
Example 1: javascript get element by multiple class
var list = document.getElementsByClassName("class1 class2");
var list = document.querySelectorAll(".class1.class2");
Example 2: javascript select element with two classes
var element = document.querySelector(".class1.class2");