Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Dalia Anuz
Courses Plus Student 486 PointsBuild a Three Column Layout
nothing changes on my page still the same need help :/
@media screen and (min-width 480px) {
/*************************** TWO COLUMN LAYOUT ***************************/
#primary { width: 50%; float: left; }
#secondary { width: 40%; float: right; }
/*************************** PAGE: PORTFOLIO ***************************/
gallery li {
width: 28.3333%;
}
gallery li:nth-child(4n) {
clear: left;
}
}
@media screen and (min-width: 660px) {
}
2 Answers

Tobias Helmrich
31,601 PointsHey Dalia,
you have to add a colon after min-width in the media query, you did it in the second one but in the first media query it's missing. Like so:
@media screen and (min-width: 480px)
Try it out again after you changed it and hopefully it will change then, good luck! :)

Dalia Anuz
Courses Plus Student 486 Pointsthanks for your help

Tobias Helmrich
31,601 PointsNo problem, could you fix the issue?
Dalia Anuz
Courses Plus Student 486 PointsDalia Anuz
Courses Plus Student 486 Pointswhat you mean I'm confused now
Tobias Helmrich
31,601 PointsTobias Helmrich
31,601 PointsIn your first media query you wrote
@media screen and (min-width 480px)
behind min-width you have to add : like so
@media screen and (min-width: 480px)