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.

CSS Unused CSS Stages Media Queries Adaptive Layouts with Media Queries

Adedotun Olusoga
Adedotun Olusoga
5,075 Points

There is something wrong with Challenge 2, it keeps returning "Bummer! Did you float '.logo' left?"

@media screen and (min-width: 769px) { .logo { float: left; }

<!DOCTYPE html>
    <title>Media Queries</title>
    <link rel="stylesheet" href="page.css">
    <link rel="stylesheet" href="style.css">
    <div class="wrap">
        <header class="main-header">
            <a class="logo" href="#">Logo</a>
            <nav class="main-nav">
                <a href="#">Link 1</a>
                <a href="#">Link 2</a>
                <a href="#">Link 3</a>
                <a href="#">Link 4</a>
        <div class="content">
            <div class="main col">
            <div class="secondary col">
            <div class="extra col">
        <footer class="main-footer">
/* Complete the challenge by writing CSS below */

/* Phones to Tablets */

.main {
    width: 65.957446808511%;
.secondary {
    width: 31.914893617021%; 
.extra {
    margin-left: 2.127659574468%;

/* Tablets to Desktop */

.main {
    width: 40.425531914894%;
.extra {
    width: 23.404255319149%;

3 Answers

@media screen and (min-width: 769px) { .logo { float: left; }

Should read

@media screen and (min-width: 769px) { .logo { float: left; } }

Good luck!

Charles Gray
Charles Gray
19,470 Points

your media query is not closed