The class attribute in this instance

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

Type your question above this line.


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