js get all inputs with classname code example Example: javascript get all classes var allHiddenElements = document.getElementsByClassName("hidden");