Starting at Zero
Set up a score.
Build a Score Keeper! 📊
Every game needs a way to track points! We are building a Score Keeper. And every score starts at... ZERO! 0️⃣ Let us set it up!
What is a Variable? 📦
A variable is a labeled box that holds a value. We use let to make one.
let score = 0
console.log("My score box holds:", score)All lessons in this course
- Starting at Zero
- Adding Points
- Losing Points
- Showing the Score