Data attributes let you assign additional data to DOM elements. You can then retrieve and use that data. In this tutorial we look at how to create data attributes and how to retrieve that data using JavaScript.
For more resources on JavaScript:
http://www.allthingsjavascript.com
Courses offered on Udemy at a discount (access from my site): http://allthingsjavascript.com/course...
Tutorials referred to in this video:
Array Methods (forEach): • Getting Comfortable with the ES5 Array Met...
Converting Nodelist to an Array: • Converting Array-like Objects to Arrays
Higher Order Functions: • Higher Order Functions: A JavaScript Stron...
querySelector and querySelectorAll: • Selecting DOM Elements with Pure JavaScrip...
On this page of the site you can watch the video online JavaScript Tip: Using Data Attributes with a duration of hours minute second in good quality, which was uploaded by the user All Things JavaScript, LLC 06 December 2017, share the link with friends and acquaintances, this video has already been watched 30,320 times on youtube and it was liked by 674 viewers. Enjoy your viewing!