← Lessons CREATOR PATH

⚡ Hello JavaScript

Lesson 10 of 20
🤖
Themed Universe
Robot Factory
Power up your first robot brain with code! ⚡
🎯 Missions
Boot up 3 different variables in your robot's brain!
Print your robot's name to the console!
Solve all 4 programming tasks — no hints!
● ● ● robot.js JavaScript
1

        
      
console output LIVE
Click ▶ Run to see your code's output here…

🎯 Mission Step 1 of 4

Create a variable called robotName with the value "Bolt" and print it!

💡 Hint: Use var name = "value"; to create a string variable, then console.log(name); to print it.

⚡ Hello JavaScript

In the Builder Path you used HTML for structure and CSS for style. Now meet the third web superpower: JavaScript — the language that makes websites do things! Today you'll write your very first lines of real code in the 🤖 Robot Factory.

📦 Variables are labeled boxes that hold values: var robotName = "Bolt";
💬 console.log() prints values to the console — your robot's voice!
🔤 Strings use quotes "like this". Numbers don't: 42
▶️ Click ▶ Run to execute, then ✓ Check to verify each challenge!