Lesson 23


#1

Hi,
I cannot see what is wrong with my code below, followed instructions in the course but still getting an error message.

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

h1{
font-family:Verdana;
color:#576D94;
}
p{
font-size:18px;
color:#4A4943;
}

Oops, try again. Don't forget to set your h1 font to Verdana!
`


#2

can you also copy paste your html code to the forum? So i can have a look, given the error message, i suspect something is wrong with your html code


#3

<!DOCTYPE html>
<html>
	<head>
	   <linktype="text/css" rel="stylesheet" href="stylesheet.css"/>
		<title>Result</title>
	</head>
	<body>
	  <h1>Hi</h1>
	   <h1>You</h1>
	   <p>Hey</p><p>Why</p>
	</body>
</html>

#4

the space between <link and type is missing, type is an attribute which means it needs the space between the attribute and html element. Without it, your stylesheet isn't read


#5

Arrggggh!! Silly me...
Thanks..:slight_smile: