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

Nathaniel Nasarow
Nathaniel Nasarow
10,291 Points

Workspaces not working correctly? :not() pseudo class lesson

Iā€™m not sure if this is a bug or not, but I have tried re-opening my browsers, restarting my mac, and clearing my browser cookies/cache.

This started in the :not() -Negation Pseudo Class lesson in the CSS Advanced Selectors class. I would put in the code and refresh the page, but nothing happens. No borders, or anything.

I cant put up screenshots here, but I'll email the developers if a solution isn't posted here. I don't think it's a code problem, but more of a problem on my side.

Nathaniel Nasarow
Nathaniel Nasarow
10,291 Points

Here's the first bit of code where I encounter the issue:

div:not([#col-a]) { border: solid 1px red; }

There is no border at all. Everything else works correctly, but no border. I've also tried the next few steps, but nothing changes in the browser. It's strange.

1 Answer

Nathaniel Nasarow
Nathaniel Nasarow
10,291 Points

Oh, god, I just realized, minutes after posting this question, that I have been typing in this:

not([])

The whole time.

Please ignore.