+ 1
I still don't get the concept of class and ID 😔😔
3 Answers
0
Understand it like class of students. All students of same class are instructed to do one same work.
Then each Student also has a roll number. So one individual can also be called by a roll number & asked to do anything.
+ 2
Mention the language name in tag ,what exactly you don't understand about class and id? Id is unique and there can be elements with same class ,helps in manipulating them collectively
+ 1
Class and id is used for selecting elements of html in css. Multiple elements can have same class But multiple elements must have their unique ID.