Get stuff from the page ...all the things

Not much to see here. (Check your browser's dev tools console.)

navigate my process

related content

The Explanation

When you need to grab all of something from a page, you need to use document.querySelectorAll(). This gives you a NodeList, which is kind of but not exactly an array that contains references to every instance of what you’re looking for in the document. Again, for the sake of the project, I’m showing direct usage, as well as usage within a friendly named function, getAllFromPage().

All I'm doing in the above examples is logging the output to the browser's dev tools console, to show what we’re getting.

Which, hey, speaking of console logging...