get all elements of a certain class code example Example: javascript get all classes var allHiddenElements = document.getElementsByClassName("hidden");