What are variables and why use them in JavaScript
Variables seem like a super basic thing in programming. Every tutorial, book or website you go through would probably have zoomed passed it without thinking.
But really, what are variables? Why do you use variables? Why are variables helpful?
How do you declare variables with JavaScript? Should you use const, let or var?
If you’re curious about any of these questions, you’ll get your answer in today’s article:
https://zellwk.com/blog/javascript-variables
Stay awesome,
Zell
PS: This article is a sample lesson from Learn JavaScript – a course that helps you learn JavaScript and build real, practical components from scratch. If you found this article helpful, I invite you to find out more about Learn JavaScript.