Computer Basics 19: How Variables work in Code

Subscribers:
10,900,000
Published on ● Video Link: https://www.youtube.com/watch?v=DF81DiQfAwY



Duration: 2:13
21,172 views
239


http://FreeCodeCamp.com is a community of busy people who learn to code, then practice by building projects for nonprofits. Learn Full-stack JavaScript, build a portfolio, and get great references with our open source community.

Follow us on twitter: https://twitter.com/intent/user?screen_name=freecodecamp

Follow us on Twitch: twitch.tv/freecodecamp

Like us on Facebook: https://www.facebook.com/freecodecamp

Follow Quincy on Quora: http://www.quora.com/Quincy-Larson

Variables are used frequently in Javascript and many other coding languages.
In this video, we're going to talk about variables in code.
Variables, just like in Algebra, are when you have a letter or a word and it represents something else.
Here we're doing var x = \Briana\. When we reference \x\ later on, it's going to know that's Briana.
When we console.log(x), it's going to output \Briana\.
But be careful - if we put console.log(\x\), with the x in quotation marks, it will output the letter \x\.
What I want you to take away from this video is that variables exist in code, and you can store everything from a simple string all the way up to a function, all within a simple name.







Tags:
Free Code Camp
JavaScript
Pair Programming
Node.js
AngularJS
MongoDB
SQL
code
learn to code
hour of code
nonprofits
full stack
coding bootcamp
software engineer
open source
Programming Language (Software Genre)
Variable