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