The JavaScript Console

Published on: July 8, 2016

Welcome to the third Easy JavaScript Tutorial, Beginner JavaScript Tutorial, part of Easy Programming! Today, we're going to cover the JavaScript console. I gave a brief intro to the console in my tutorial covering your browser's developer tools, and today I'm going to go a little more into the JavaScript console and show you exactly what you can do with this wonderful tool. It's more than just console.log(). 

Every browser should have a JavaScript console. My favorite is the one available with Chrome. It's more than a source of output, you can use the console to input commands and execute as a command line interface. The JS Console lets you do many things including math and even testing your JavaScript code before you actually implement it. 

We'll be using the JavaScript console a lot more over the course of this series where you will slowly become an expert.

Information on how you can download the HTML File used in this tutorial can be found in the resources section below. 

Remember to checkout the Resources section below for associated downloadable content, JSFiddle links, and other resources. Watch the video and follow along!

Resources:

To download the HTML file used in this tutorial, visit the following URL, right-click anywhere on the screen, click "View Page Source", and you can copy and paste the HTML into your own HTML file! 

 

View the HTML file here: http://www.easyprogramming.net/downloads/javascript/js_console.html

Comments: