Remember Stuff

Store and update values with variables.

Let’s teach JavaScript to remember things. In this lesson, you’ll learn about variables—they store data like names, scores, or anything else your program needs.

Goal

You will learn to:

  • Create variables using let and const.

  • Store text and numbers.

  • Use those variables in your output.

Think of variables as boxes

Variables are like labeled containers. You give them a name and put a value inside.