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 trialNathaniel Nasarow
10,291 PointsWorkspaces 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.
1 Answer
Nathaniel Nasarow
10,291 PointsOh, god, I just realized, minutes after posting this question, that I have been typing in this:
not([])
The whole time.
Please ignore.
Nathaniel Nasarow
10,291 PointsNathaniel Nasarow
10,291 PointsHere'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.