← Code Example from DOM Enlightenment Book by Cody Lindley

JavaScript code is executed on page load. Click the "Run" button in the top bar to re-run the JavaScript code. All console.log()'s are logged to the Firebug Lite console below ↓.