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 trialKrystel Hagan
4,731 PointsHelp with Responsive Design!
I have typed the code correctly, as shown in the video, and it is still asking me if I set 'clear:left.' I am not sure where I am missing something or how to correct this,
3 Answers
William Elliott
Courses Plus Student 5,331 PointsTry #gallery li:nth-child(4n) { clear: left; } --> no space between child and (4n)
Krystel Hagan
4,731 PointsQ: Inside the media query, clear the left side of every 4th list item in the gallery.
A:
#gallery li:nth-child (4n) { clear: left; }
Krystel Hagan
4,731 PointsI am not sure exactly what I am doing wrong though.
Krystel Hagan
4,731 PointsThank you :)