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 trialJ V
4,471 PointsNth-child did not fix all errors.
My code is above. Check responsive.css, as well as index.html
Copied the video exactly, however when i resize the screen to a SMALLER width, the 5th item jumps to the right column, as opposed to the left. Why is this?
1 Answer
Steven Parker
231,269 PointsIt moved to the left for me. But I did notice that you had not applied the correction mentioned in the teacher's notes. Line 28 of responsive.css should be:
#gallery li:nth-child(3n+1) {
Cindy Lea
Courses Plus Student 6,497 PointsCindy Lea
Courses Plus Student 6,497 PointsI did have a similar problem, but in the final code I didnt. Wish I could tell you why...