15/23 Links


#1

I know what's wrong with this code, but I don't know how to fix it. :frowning:

Here's my H T M L code:

<!DOCTYPE html>


<html>
	
	<head>
		
		<link type = "text/css" rel = "stylesheet" href = "stylesheet.css" />
		
		<title> </title>
	
	</head>
	
	<body>
		
		<div link = "https://www.codecademy.com">    <== I think this part is wrong.
		
		<div link = "https://www.codecademy.com">    	
		
		<div link = "https://www.codecademy.com">
	
	</body>

</html>

Here's my C S S code:

a :link {

    text-decoration : none;

    color : #008B45;

}

a :hover {

    color : #00FF00;

}

a :visited {

    color : #EE9A00;

}

Thanks for the help. :slight_smile:


#2

there can't be a space between the css selector a and the pseudo class (:visited), they belong together.

As for your links, i recommend to revisit you are going places which explains links.


#3

returns," Oops, try again. Did you remember to add at least three links?"

Didn't work. :frowning: But thanks.


#4

can i see your html code? your links where wrong last time, did you check the exercise i recommended?


#5

Nevermind. I changed the link to <a href = "https://www.codecademy.com" > and it passed.