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