does getelementsbyclassname returns an array code example Example: getelementbyclass var selector = document.getElementsByClassName('class-name');