Learn the basics of JavaScript with our free online video courses.
This crash course video covers the basics of Javascript you'll need to be able to create variables in JavaScript, and is perfect for beginners who want to learn coding whilst seeing it in action.
This video covers:
How To Create A Variable In JavaScript
Naming A Variable In JavaScript
Bonus Content:
Declare Multiple Variables At Once
You can declare multiple variables at once by stating the declaration keyword, followed then by the names and values of the variables, separated by commas.
let dog = "Poodle", fruit = "Apple", age = 7;
The statement ending semicolon should be after the last declared variable in the list.
Typical Naming Conventions
The dollar sign is often used as an alias for the main function in a JavaScript library. For example, in jQuery, the main function $ is used to select HTML elements (ei. $("p"); means "select all p elements"). Similarly, the underscore is not typically used for naming in JavaScript outside of it being used as an alias for private (hidden) variables.
Software used in video:
PlayCode: https://playcode.io/
Alternate recommended text editors to practise coding with:
Notepad++: https://notepad-plus-plus.org/
Visual Studio Code: https://code.visualstudio.com/
HTML and CSS is not used during this video.
Our CSS crash course: • Chairbear | Learn CSS In Under 15 Minutes ...
Our HTML crash course: • Chairbear | Learn HTML In Under 10 Minutes
Many of our courses are available in Dark Mode, to allow you to continue your learning without having to worry about bright screens! This video is suitable for night time viewing.
Auf dieser Seite können Sie das Online-Video Chairbear | Learn JavaScript | Create Variables mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Chair Bear 28 Juli 2020 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 26 Mal angesehen und es wurde von 0 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!