The correction don't recognize my border, and I don't find the mistake


#1


https://www.codecademy.com/fr/courses/web-beginner-fr-FR-s8eip/4/4?curriculum_id=5355c3c3516bcbd91200000b


Hello,
In this exercise and in all following exercises requiring a border in the CSS code, the correction send me this message.
"Have you add a border of 1px solid # 4682b4 to [the balise requiring a border]?". Looking at my code, I don't see the mistake... Is it a bug? (I already had one with the font size...)
Thank you!


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


#2

Hey there!
Try and format your code like this:

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

And could you post your html aswell? I've tried the css and it worked fine, so the problem is mostlikely in the html.


#3

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