26: Links and Decorations(idk whats wrong)


#1



https://www.codecademy.com/courses/web-beginner-en-TlhFi/4/5?curriculum_id=50579fb998b470000202dc8b
I keep on getting an error message that says: Oops, try again. Did you remember to set your link's text-decoration to none. I have no idea what is wrong.
Here is a picture of it and the code

http://codecademy-discourse.s3.amazonaws.com/original/4X/7/d/d/7dd54f591cc1ab67d992de10ea263b86c44e1659.png

HTML:<!DOCTYPE html>
<html>
	<head>
	 	<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
		<title>Result</title>
	</head>
	<body><h1>hi<img src="http://vignette2.wikia.nocookie.net/dickfigures/images/d/d0/Troll-Face-Dancing1.jpg/revision/latest?cb=20121112150543"/>says to</h1><img src="http://1.bp.blogspot.com/-z1rfX557i80/Uqf4FkGQNoI/AAAAAAAATuA/oRi_hjk29jE/s1600/3b.jpg"/><p>lol he just said hi</p></body>
<a href="url.com">lol</a></html>


CSS:       h1 { 
font-family: Verdana,sans-serif;
color: #576D94;
}
p {
    font-family: Garamond,serif;
color:#4A4943;
font-size:7px;
}

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

#2

I see you've forgot many semicolons in your CSS... This may be causing the error. :slight_smile:


#3

I will try looking for those, repairing the structure, and try again.


#4

I will be back on chat tomorrow, laptop is dead


#5

Go ahead, tell me how it works! :slight_smile:


#6

A post was split to a new topic: 26. link and text decoration


#7