educative.io

Educative

The class attribute in this instance

what does the class attribute do–seems like it would be redundant?


Type your question above this line.

Course: https://www.educative.io/collection/10370001/5686791109607424
Lesson: https://www.educative.io/collection/page/10370001/5686791109607424/5676325415157760

Hey @Mac_Willson!
We can use the class attribute to apply CSS styles to the HTML document. Also, it is given to add the class attribute with the value of recipeList for both containers.
We hope Educative has inspired you to further your learning. Thank you for asking the question.

1 Like