>_BeginnerCoder
Donate

Lesson 1 — console.log

Seeing output

console.log(...) prints whatever you pass it to the browser console — the developer window where JavaScript talks back to you. Open the Console tab and press Run to see it.

Why it matters: logging is the first tool every JS developer reaches for to check values and debug.

Tip: you can log several things at once: console.log("score", 10).

Not clear enough?
Task

Log the message: Learning JavaScript

Next →
🧠 Test your knowledge

A quick 3-question quiz on this lesson — instant feedback.

Enjoying this lesson? Share it 👇

Keep going with JavaScript Foundations

Ready for more? These paid resources pick up where this lesson leaves off.

Some links on this page are affiliate links: we may earn a commission at no extra cost to you. We only recommend tools we believe are genuinely useful.