what is the use of class atrribute
See this lesson from CodeCademy: https://www.codecademy.com/courses/learn-css/lessons/css-setup-selectors/exercises/class-name
You can also use it in CSS.
For anyone wondering, you should learn the purpose of
class later in the course. (Unless you’re in the learn HTML course)
class is used in CSS and JS where you can select different things within a class and tell them to do things.
thanks for the explanation. Going to be learning JS very soon!