← Real Code

Variables: boxes with names

A variable is a box with a name on it, where you keep a value. You make one with let. Later you can use the name to get the value back out.

🎯 Make a variable called score with the value 10. Then print score + 5.

Output

Press Run to see what your code prints.

Lesson 2 of 14 · Lesson map · Your code runs safely inside this page and is never sent anywhere.