get all elements by classname and append js code example Example: javascript document object model getElementsByClassName document.getElementsByClassName('test')