get all elements that has class code example Example: javascript document object model getElementsByClassName document.getElementsByClassName('test')