Lesson 12 link tag


#1


https://www.codecademy.com/en/courses/web-beginner-en-TlhFi/1/6?curriculum_id=50579fb998b470000202dc8b#

When I submit the code for lesson 12 in 'CSS: an overview' ("Check yourself before you wreck yourself"), I get the following error message: "Oops, try again. Did you remember to close your tag?"

I've double and triple checked the <link> tag but haven't found any syntax mistakes in it. In fact, the html document gets formatted correctly, therefore the <link> tag is working:


Here is the HTML code:

<!DOCTYPE html>
<html>
	<head>
		<title>Result</title>
		<link type='text/css' rel='stylesheet' href='stylesheet.css'>
	</head>
	<body>
		<h1>Change me to Verdana.</h1>
		<h3>Change me to Courier.</h3>
		<p>Make me purple!</p>
	</body>
</html>

And here is the CSS code:

h1 {
    font-family: Verdana;
}

h3 {
    font-family: Courier;
}

p {
    color: purple;
}

/*This is a comment!*/

Is this a bug or have I made any mistake?

Thanks in advance


#2

this exercise requires xml syntax:

<link type='text/css' rel='stylesheet' href='stylesheet.css' />

#3

Thank you! I feel stupid.


#4

no, its just xml syntax you wouldn't normally use


#5