console.log(): Coding lesson for kids

In this lesson, children learn to use console.log() to print a value and inspect it during debugging.

console.log("Hello!"): Prints Hello! in the browser's console — a panel in the developer tools where messages and errors show up.

console.log(2 + 3): Can also show the result of math, not just quoted text.

This lesson is part of JavaScript in Coding at Pearls Valley Academy — What makes a webpage actually do something.

Each lesson starts with a short narrated, animated explanation, then hands-on practice. A wrong answer gets a gentle hint, never a penalty, and children earn stars and pearls as they go.