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

CSS Unused CSS Stages Media Queries Adaptive Layouts with Media Queries

Adaptive Layouts with Media Queries challenge task 2 of 3

What am I doing wrong? I keep getting the error "Bummer! Did you float '.logo' left?"

I've searched the forums only to find that the only problem people have had with this challenge is forgetting the ending bracket. I've tried that and it doesn't seem to work for me. PLEASE help!

@media only screen and (min-width: 769px) {
    .logo {
      float: left;
    }
    .main-nav {
      float: right;
    }
    .main {
      width: 40.425531914894%;
  }
    .extra {
      width: 23.404255319149%;
      display: block;
  }
}  

2 Answers

Hi andrewg,

The css that you have above passes fine as long as you have the previous "Phones to Tablets" media query closed off.

Thank you so much for your help, Jason!