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 trialDavid Rajewski
4,297 PointsProblem with Code Challenge
Hi,
On the question: Inside the media query, select the list items inside the gallery and add a width of 28.3333%.
I put this:
@media screen and (min-width: 480px) {
#gallery li {
width: 28.3333%
}
}
However, it says it is incorrect. Where is my mistake?
Thanks, David
1 Answer
Dino Paškvan
Courses Plus Student 44,108 PointsYou're missing a semi-colon after the width declaration. Try adding it.
Although, I just pasted your code into the challenge and it worked. Try running the challenge in a different browser or on a different computer. If it passes, please contact the support with details about the browser in which the challenge isn't passing because you might've found a bug.