Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS CSS Selectors Advanced Selectors Advanced Selectors Review

Ian Glencross
Ian Glencross
17,524 Points

The pseudo-class quiz. says the answer to : "What is the negation pseudo class?" Isn't "::not()" ... so what is it?

i have tried ::not(), :not(), :not, ::not ::not(selector) but it says they all wrong .. am I missing something? Am I on the wrong track is there some other negation pseudo class?

1 Answer

Ian Glencross
Ian Glencross
17,524 Points

Arrgh! : my bad. :not() is the answer and it worked when i tried it again.

It must have been a typo, one that I repeated.

I was so used to typing double colons that I didn't register that not all pseudo classes use double colons.