Your First console.log() Adventure

Print messages and debug like a real developer.

console.log() prints messages to the developer console. It is the fastest way to see what your code is doing.

console.log("Hello, coder!");
console.log(2 + 2);

When something breaks, add more logs to trace values step by step.

Try in Playground