CSS
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!
3 Replies
You're more likely to get help if you follow the rules.
No unnecessary pinging anyone Don't ping a user unless you're already in a conversation with them and have a good reason to ping. Also, please don't ping mods or Kevin with coding related questions. Do ping mods for issues that require immediate attention, such as spam, harassment, or other server-related issues.selectors with a hashtag are id selectors. Selectors that start with a . are class selectors. selectors with no additional punctuation are element selectors
just to make it official, yeah, please don't @ people to draw them into your questions
got it, i'm so sorry
ok sorry for that
thanks for the help