sorry to bother you, but I could really use your help with this CSS question for my college class!
We have been given a set of HTML attributes used in a CSS selector, and our task is to determine the number of each type of selector (IDs, classes, etc.).
for ex :
#button .button buttonbtn
we need to identify and count the id selectors, classes and element selectors [ the example i gave to u is a begginner one] we have more harder ones and it is really hard to identify them
Could you please explain how to properly analyze this selector and determine the correct counts for each type? I’m finding this a bit confusing, especially with where to start when identifying the different selectors. Your guidance would be greatly appreciated!