Stuck on Lesson 2


#1



I have been trying to get passed this lesson, but it is not showing up in the example screen, I tried the ctrl+0, and it didn't change anything. I have reset the page, I have reset the code and re-typed it, and still I have gotten this error.

I keep getting this error :"Oops, try again. Did you remember to give your div a height of 50px? It looks like it's 0px".


div {
    height: 50px
    width: 120px
    border-color: #6495ed
    background-color: #bcd2ee
    border-style: 10px solid
    border-width: 2px
}


#2

you forgot to use ;
A CSS declaration always ends with a semicolon
for example:

div {
    width: 200px;
    height: 50px;
}

#3

I noticed that right after I submitted this, I felt so silly.
Thank you!


#4

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