📦 Variables & Data Types
Learn how to store and work with different types of data in your programs
⏱️ 2 hours📚 7 sections⭐ Beginner
Your Progress
0 / 7 completed📚 Sections
📦
What are Variables?
Section 1 of 7
Variables are like containers that store information in your program. Think of them as labeled boxes where you can put different types of data - numbers, text, true/false values, and more!
💻 Code Example:
// Creating variables with 'let'
let username = "Player1";
let score = 100;
let isActive = true;
// You can change the value later
score = 150;
console.log(score); // Shows: 150