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

@media screen

It keeps saying this is wrong I have checked my CSS and that's the way the video said to do it. Unless I am missing something can someone point me in right direction if it is wrong

gallery li : nth-child (4n){

clear: left; }

Drew.

If you are trying to get the 4th child element you can use: gallery li:nth-child(4){ clear: left; }

The n would be if you want to clear left on every 4th li element. Without know exactly where you are getting the error that is the error, can you provide more information?

Also look that words are separated with spaces, and they shouldn't. Try with:

gallery li:nth-child(4n) //without spaces