From the course: JavaScript for Web Designers

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Tools in action

Tools in action - JavaScript Tutorial

From the course: JavaScript for Web Designers

Start my 1-month free trial

Tools in action

- [Instructor] Now we're going to look at the JavaScript console to see what it can do for us. It's a very handy tool for learning basic JavaScript in general and with a debugger, can give you great insight into the code you're writing. But for now, we're just going to look at the console. I can open my developer tools using Command Option I, or Control Shift I on Windows or Linux. If that opens the web inspector for you, you can switch it over to the console just clicking the tab named console. In Firefox, this is called the web console, not just the JavaScript console. I'm going to make this a little bigger. All right, let's see what we can do here. This console lets me execute JavaScript right in line. So if I type, for example, four plus three and hit return, I get the result, seven. I'm executing JavaScript. Along with being able to execute code, I can also inspect code here. There's a built in object in JavaScript…

Contents