felipe.tech
JavaScript: How to loop through all DOM elements on a page
In JavaScript, if you need to read or manipulate all elements, you can pass a * to the getElementsByTagName method so it will return all elements in a page. let your_variable = document.getElements…