Problem with Link and Text-decoration


#1


Exercise, where I get stuck

Error message:

Oops, try again. Did you remember to set your link's text-decoration to none;?


My code: HTML&CSS

<!DOCTYPE html>
<html>
	<head>
		<title>Result</title>
		<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
	</head>
	<body>
	    <h1>I love Css</h1>
	        <p>I learn CSS and...</p>
	        <p>I love it!</p>
	        <img src="http://bit.ly/NnVbxt"/>
	       	<a href="http://www.google.com/">Google</a>
	</body>
</html>

h1{
    font-family:Verdana, sans-serif;
    color:#576d94;
}

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

img{
    height:100px;
    width:300px;
    border: 1px solid #4682b4;
    
a{
    color:#cc0000;
    text-decoration:none;
}

What is wrong with my code?

This is Image of page, that I write


#2

Hey coremaster91991,

I noticed in your CSS code below that you forgot to close the } in img.

img{
    height:100px;
    width:300px;
    border: 1px solid #4682b4;
     /* You forgot to close the img in CSS. */
a{
    color:#cc0000;
    text-decoration:none;
}

#3

Thanks, I add } and it's solution