In Head First JavaScript Programming, we use the developer console in the browser to test code, and to debug our code when we have problems. The developer console in each browser is a little bit different, but they all do basically the same things. First, read our post on how to access the developer console in your browser (we cover Firefox, Chrome, Safari and IE), and then watch this video so you get the most out of using this important tool.

In this installment of Head First JavaScript Programming Teasers, you’ll learn how to use the console so you can follow along with the examples in the book as we use the console to test and debug our code. You’ll also see that the console is handy for experimenting with JavaScript; you can use it as a way to try things out and see what works and what doesn’t. Learning how to use the console is a valuable skill as you develop your JavaScript programming skills.

Related Videos

Using the Console: A quick overview of the features in Safari and Chrome Developer Tools.
Using the Firefox Console: A quick overview of the features in the Firefox Developer Tools.
Editing your HTML and CSS in the browser: How to experiment with your design right in the browser.

Don't miss out!!

Don't miss out on brain-friendly WickedlySmart updates early access to books and general cool stuff! Just give us your email and we'll send you something about once a week. 

You have Successfully Subscribed!