getelementbyclassname multiple class code example Example: getelementbyclassname get multiple class document.querySelectorAll('.a,.b')