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...
Sur cette page du site, vous pouvez voir la vidéo en ligne JavaScript Tip: Using Data Attributes durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur All Things JavaScript, LLC 06 décembre 2017, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 30,320 fois et il a aimé 674 téléspectateurs. Bon visionnage!