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.

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

Natacha Schiettekatte
Natacha Schiettekatte
3,331 Points

Hi! For some reason my media queries aren't creating the additional columns: https://w.trhou.se/9m0d39dlex

I've checked the spelling and made sure both queries were within the curly braces, but neither the extra column on the contact page or the third column in the index page are working. If anyone could help me see if I've missed anything!

Thanks! Tash

2 Answers

Hi Natacha I believe the media query should be written like '''CSS @media screen and (min-width: 448px) {

} '''

Natacha Schiettekatte
Natacha Schiettekatte
3,331 Points

Hi Chris, thanks for your answer! However, now it shows the three columns within the gallery, but doesn't change for mobile view. The contact page is still not working properly: https://w.trhou.se/7nyg045kso

Write the media query like

@media screen and (min-width: 448px) {