Introduction to JavaScript
First step into JavaScript, the language of the web: printing with console.log, variables, and simple operations — line by line with colorful explanations.
Simple enough for a 5-year-old to understand
Your first output: console.log
In JavaScript, console.log is used to print something to the screen/console. It displays the value you write inside the parentheses.
console.log("Hello!");Let's write two lines
console.log("I am writing code");console.log("So much fun!");🎯 Exercise & Practice
Test what you've learned — answer, write code, check instantly. (2 left)
🎯 Expected output: Hello World