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 trialOlesya Kravchenko
8,958 PointsPseudo class problem. There is a bummer appears. That`s the code: #gallery li: nth-child(4n) {clear:left;}
I`ve consulted other similar questions but still the bummer appears.
2 Answers
Sam Baines
4,315 PointsHI Olesya - make sure you have no gaps/spaces in the li:nth-child(4n) on the #gallery selector and make sure its inside the media query in the css. I have just passed the challenge using this code.
#gallery li:nth-child(4n){
clear: left;
}
Olesya Kravchenko
8,958 PointsThank you a lot) It works )
Sam Baines
4,315 Pointsglad I could help.