Border is Shown In the Viewing Pane, But it Keeps Giving Me the Error


#1

Having the same problem with lesson 25 HTML & CSS
I don’t understand I have followed the previous lessons. the border is also shown in the viewing pane, but it keeps giving me the error. I am using current up to date Firefox. What am I doing wrong?

index.html

<head>
    <link type="text/css" rel="stylesheet" href="stylesheet.css"/>
	<title>Result</title>
</head>
<body>
    <h1> Hello, why can't you rember this ■■■■! </h1>
    <p> Your brain is fried </p> 
    <img src="https://phys.org/newman/gfx/news/hires/2014/brain.png"/>
</body>

stylesheet.css

h1 {
font-family: Verdana, Sans-serif; color: #576D94;
}

p {
font-family: Garamond, Serif; font-size: 18px; color: #4A4943;
}

img {
height: 100px; width: 300px;
}

img {
border: 1px solid #4682b4;
}

Error message

Oops, try again. Did you remember to give your image a 1px solid #4682b4 border?


Whats wrong with my code? It wont let me proceed to the next lesson
#2

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