Fixing your header


#1


.header{
background-color: red;
width: 200px;
height: 200px;
border-radius: 5px;
position: fixed;
z-index: 1;
}


https://www.codecademy.com/courses/web-beginner-en-9x6JW-WnAFv/0/4?curriculum_id=50579fb998b470000202dc8b


i can't get past this section


Replace this line with your code.
.header{
    background-color: red;
    width: 200px;
    height: 200px;
    border-radius: 5px;
    position: fixed;
    z-index: 1;
}


#2

can you post your full html and css code?

your header has an id, right? an id css selector start with #, not .


#3

thanks..i just fixed it with the # problem. lol i was about to give up and watch some movies. You saved the day.


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.