Back to Browse

Easy JavaScript - Storing DOM Elements & Functions in Variables (6)

3.5K views
Jul 29, 2016
5:40

Welcome to the sixth Easy JavaScript Tutorial, Beginner JavaScript Tutorial, part of Easy Programming! In the last tutorial, we went over storing information in variables. In this tutorial, we take a look at storing two other types of information into variables. They are DOM elements and Functions. Know how, why, and when to do this will allow you to save a lot of time when coding. I will cover all three questions in this tutorial. What you learn in this tutorial is something that we will do over and over again because it makes the life of any coder easier. One of the directives of programming is to create reusable code, and storing DOM elements and Functions in variables is a very good way to create reusable code. I hope this very quick tutorial helps you get started. Please return for a tutorial on functions! To fork the fiddle and follow along: https://jsfiddle.net/easyjs/2c91k5ut/ For more information, please visit http://www.EasyProgramming.net to view my other programming tutorials! Find videos of C++ tutorials, Excel tutorials, and JavaScript Tutorials. I hope you enjoy the video and if you have any questions, please ask in the comments below. If you have any requests feel free to let me know. Thanks for watching and remember to subscribe! ----------- Subscribe on YouTube: https://www.youtube.com/c/nazmusnasir Support me on Patreon: https://www.patreon.com/nazmus Follow me on Twitter: https://twitter.com/NazmusN Like me on Facebook: https://www.facebook.com/EasyProgrammingNet Follow me on Google+: https://plus.google.com/+NazmusNasir Check out my Github: https://github.com/naztronaut

Download

1 formats

Video Formats

360pmp48.1 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Easy JavaScript - Storing DOM Elements & Functions in Variables (6) | NatokHD