Building a balance sheet: Step 47 Span:not(.sr-only)

The step says: “The :not() pseudo-selector is used to target all elements that do not match the selector…”. Then how is is that “span:not(.sr-only)” only targets the span elements in the tables and not those in the header?

Actually 2 steps later it removes the ":not(.sr-only). SO you have a span selector that is only targeting certain span elements not all???

If you have a question about a specific challenge as it relates to your written code for that challenge and need some help, click the Ask for Help button located on the challenge (it looks like a question mark). This button only appears if you have tried to submit an answer at least three times.

The Ask for Help button will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.

Maybe I should remove the challenge reference. This is just a general inquiry about the function of this kind of code syntax.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.