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 How to Make a Website Responsive Web Design and Testing Refactor the Layout

Code challenge doesn't reflect the code correction

Hi there,

In the nth-child lesson, there was a code correction noted. We were told to not use "#gallery li:nth-child(4n)", and to instead use "#gallery li:nth-child(3n + 1)" because it is more specific, and doesn't cause an error in the design. The quiz doesn't reflect that. It might be a good idea to change this... it was a bit confusing.

Thanks,

Whitney

Dave McFarland
Dave McFarland
Treehouse Teacher

Thanks for pointing this out Whitney. I'll pass this on to Nick Pettit.

Nick Pettit
Nick Pettit
Treehouse Teacher

Hi Whitney,

Thanks for pointing this out! I always like to keep the final downloadable code exactly the same as it appears in the videos to avoid confusion. Unfortunately this is a very difficult change to make in videos, because the change would need to cascade to all subsequent videos. That's why this is just added as a note. It's not a critical error, but it can help with some issues if you customize the site with your own images. Hopefully that makes sense!