Just putting some notes on some practices on DOM manipulation. This involves using the browser developer tools. In the case of Chrome, it can be accessed using Cmd + Option + i on OSX.
First up, in the Elements tab, one can use the DOM viewer or element selector tool which allows navigation through the DOM and selection of individual elements. Shortcut for this is Cmd + Shift + C on OSX.
The last two methods will give a collection of elements.
The collection returned by these methods are not arrays. But one can use Array.prototype.slice.call or Array.from to convert them to array-like objects.
Remember: Use console.dir when needed.