Oops, try again. Did you remember to float .left to the left?


#1



The error message is the title of the post. I had rewrote the code several times. Help. Thanks in advance.


div {
    border-radius:5px;
    height:100px;
    width:100px;
    background-color:gray;
    position:fixed;
    z-index:1;
}

.right {
    float: right;
}

.left {
    float: left;
}


#2

You should be right. Try refreshing you browser or you can go to "What you will be building" to take a cue.

Hope this helps!


#3

float doesn't work on fixed elements, remove position: fixed from your div css selector, otherwise nothing will float