Programming Exercises
This lesson will cover custom data attributes by way of coding exercises in which the main focus will be on HTML with a hint of CSS and JavaScript in order to define, style, and manipulate custom data attributes respectively. Let's begin!
Coding exercises
Defining and styling custom data with HTML & CSS
Exercise 1: Favorite childhood books trio
Write code to create a list of three books, of three different genres, with unique ids using custom data attributes. ...