CSS: An overview


#1

This section in lesson 25 wont submit. What am I doing wrong? I skipped past it but now have a 96% in the course instead of 100%

<!DOCTYPE html>
<html>
    <head>
        <link type="text/css" rel="stylesheet" href="stylesheet.css"/>
        <title>Result</title>
    </head>
    <body>
       
        <img src="http://bit.ly/NnVbxt"/>
            <h1>This is real!</h1>
            <p>I already have him!</p>
    
    </body>
</html>

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


#2

in the css right at the end of the file you have a , that might fix it :smile:


#3

no that was an acidental backlink (`) for this notes section its not really a part of the code. The error message says "Oops, try again.
Did you remember to give your image a 1px solid #4682b4 border?"


#4

Hey

its refffered to as img not image

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

#5

thanks so much for the help!


#6

As pointed out, css selector is the same as the html opening tag without < and >, since the html element is <img> the css selector is img