Skip to content
Justice Tech School

JavaScript Introduction

JavaScript adds behaviour to web pages: reacting to clicks, updating content, validating forms, and much more. It also runs on servers through Node.js.

console.log() prints a value so you can see what your code is doing. In the editor below, console output appears in the Output panel.

Example
console.log("Hello, world");
console.log(2 + 3);

Exercise

Print the text Hello.

console.("Hello");

Quiz Test

What does console.log() do?

These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.