@MarceloDevd3
Posted
You must use class if you going to repeat the same style for more that one time, and you can't use id like you use class I'll let more information about it right down
Remember the difference between Class and ID: A Class name can be used by multiple HTML elements, while an ID name must only be used by one HTML element within the page.
link : https://www.udacity.com/blog/2021/01/html-css-class-and-id-selectors-everything-you-need-to-know.html#:~:text=Remember%20the%20difference%20between%20Class,H TML%20element%20within%20the%20page.
Marked as helpful