← All freeCodeCamp videos

Computer Basics 19: How Variables work in Code

31,130 views — likes 2015-07-17 2:13 Watch on YouTube ↗ freeCodeCamp ↗
Computer ScienceAlgorithms & Data StructuresVariables

Chapters

No chapter markers in this video's description.

Show the creator's full description
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. ❤️ Support for this channel comes from our friends at Scrimba – the coding platform that's reinvented interactive learning: https://scrimba.com/freecodecamp

Description and video by freeCodeCamp.org. This page is an independent companion view; the video is embedded from YouTube.