Today we'll learn about using variables in JavaScript especially as they relate to our counter application.
In short, variables are a way to hold a data value within your code.
For example, If you say
var number = 10;
10 becomes represented by the variable name number.
This video also touches on important concepts like scope. If you'd like to read more about said topic look here,
https://www.freecodecamp.org/news/an-introduction-to-scope-in-javascript-cbd957022652/
Follow me on instagram
In short, variables are a way to hold a data value within your code.
For example, If you say
var number = 10;
10 becomes represented by the variable name number.
This video also touches on important concepts like scope. If you'd like to read more about said topic look here,
https://www.freecodecamp.org/news/an-introduction-to-scope-in-javascript-cbd957022652/
Follow me on instagram
- Category
- Web design
Be the first to comment