Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
- Introducing Variables 6:33
- Create a Variable 1 objective
- Naming Variables
- Creating and Naming Variables Review 6 questions
- Change the Value in a Variable 3:41
- Define Variables with let and const 6:21
- Spacing and New Lines in JavaScript
- Update the Value of a Variable 1 objective
- Variables Review 6 questions
Start a free Courses trial
to watch this video
- 2x 2x
- 1.75x 1.75x
- 1.5x 1.5x
- 1.25x 1.25x
- 1.1x 1.1x
- 1x 1x
- 0.75x 0.75x
- 0.5x 0.5x
Once you declare a variable and assign it a value, your program can manipulate what's stored in the variable as it runs, like a score in a game, for example.
Resources
- Addition (
+
) – MDN - [Addition assignment operator – MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Addition_assignment
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up-
Forrest Pollard
1,988 Points1 Answer
-
Engr Faisal Ali
6,544 Points1 Answer
-
Gavin van Hoeijen
2,938 Points2 Answers
-
Daniel Balabis
Full Stack JavaScript Techdegree Student 4,254 Points1 Answer
-
Lauren Wotherspoon
3,159 Points3 Answers
-
PLUS
Tatiana Basa
Courses Plus Student 157 Points1 Answer
View all discussions for this video
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up