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

HTML How to Make a Website Responsive Web Design and Testing Build a Three Column Layout

Build 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
Tobias Helmrich
31,603 Points

Hey 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! :)

what you mean I'm confused now

Tobias Helmrich
Tobias Helmrich
31,603 Points

In 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)

thanks for your help

Tobias Helmrich
Tobias Helmrich
31,603 Points

No problem, could you fix the issue?