Codecademy glitch in 7. CSS An Overview?


#1



I have the correct color code in my img element of my CSS, but Codecademy says, "Oops, try again. Did you remember to give your image a 1px solid #4682b4 border?". I think this is a glitch. I tried resizing in both Chrome and Firefox. Is there really something wrong with my code?


h1 {
font-family: Verdana, sans-serif;
color: #576D94;
}
p {
    font-size: 18px;
    font-family: Garamond, serif;
    color: #4A4943;
}
img {
    height: 100px;
    width: 300px;
    border-width: 1px;
    border-style: solid;
    border-color: #4682B4;
}


#2

They're looking for:

img {
    height: 100px;
    width: 300px;
    border: 1px solid #4682b4;
}

#3

This did not work either.


#4

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