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 trialCheet Huan Lee
2,316 Points"Check work" error
I got some error on the "check work" part.
Below is the code that I written for this session but it keep telling me wrong with the code below: @media screen and (min-width: 480px) { #gallery li { width: 28.3333%; }
#gallery li:nth-child (4n) { clear: left; }
Because of this I can't complete this stage and go onto another stage. Hope to hear you soon
1 Answer
Maria Bono
6,799 PointsHi Cheet! If you wrote exactly this, then it's missing the last } closing the media query. I did this stage earlier today and I didn't have any problems :)
Cheet Huan Lee
2,316 PointsCheet Huan Lee
2,316 PointsMy problem was solved last few minutes. It was a space between nth-child and 4n. BTW, thanks for your reply. Appreciate it! TQ