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 trialDaniel Friend
2,339 Pointsresponsive.css not properly formatting gallery. Can you help?
I added the nth child property and am unable to get my gallery to display properly on larger screens.
Here is my snapshot:
1 Answer
redcamel2
4,751 PointsTry taking out the n.
Daniel Friend
2,339 PointsDaniel Friend
2,339 PointsI actually got the page to format properly by refreshing the page a few more times. Though I did take out the n and it still worked.
The issue has been resolved
Jason Anello
Courses Plus Student 94,610 PointsJason Anello
Courses Plus Student 94,610 PointsTaking out the n isn't a good idea if you're going to have more than 6 images.
Also, there's a correction in the Teacher's Notes for this video. The correct nth-child expression is
3n + 1