Lesson 26: Links and Decorations


#1



https://www.codecademy.com/courses/web-beginner-en-TlhFi/4/5?curriculum_id=50579fb998b470000202dc8b


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


HTML
<!DOCTYPE html>
<html>
	<head>
	 <link type="text/css": rel="stylesheet": href="stylesheet.css": />
		<title>Result</title>
	</head>
	<body>
	<h1>Du är en bajskorv</h1>
	<img src="https://cdn3.cdnme.se/cdn/7-2/1624036/images/2011/bajs_174832022.jpg">
	<p>Som jag ska spola ner i 
	<a href="https://sv.wikipedia.org/wiki/Toalett">toaletten</a>.</p>
	</body>
</html>

stylesheet

h1 {
    font-family: Verdana, Sans-Serif;
    color: #576D94;
}
img {
     height: 100px;
     width: 300px;
     border: 1px solid #4682b4;
p  {
    font-size: 18px;
    color: #4a4943;
    font-family: Garamond, serif;
}
a {
text-decoration: none;
color :#cc0000;
}


#2

your img css selector is missing its closing curly bracket (})


#3

Thanks, looked through my code several times, tried 4 browsers, all for that bracket haha :slight_smile: