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 trialJulie Harding
825 PointsMy #primary and #secondary show up highlighted red and when I refresh my site it doesn't go to 2 columns.
@media screen and (min-width: 480px {
/******************** TWO COLUMN LAYOUT ********************/
#primary {
width: 50%;
float: left;
}
#secondary {
width: 40%;
float: right;
}
}
@media screen and (min-width: 660px) {
}
2 Answers
Tobias Helmrich
31,603 PointsHey Julie,
don't forget to put a closing parenthesis after you specify the min-width. Right now you're writing:
@media screen and (min-width: 480px
without a closing parenthesis. It should look like this:
@media screen and (min-width: 480px)
Try that and see if it works, if not please let me know! :)
Julie Harding
825 PointsThat was it! Thanks so much...it was driving me crazy!
Tobias Helmrich
31,603 PointsNo problem, I'm glad I could help! :)