Stuck on 12 and I can't figure out what's wrong with my code


I'm getting an error saying "Oops, try again. Did you remember to close your < link > tag?" and I don't understand why or how to fix it. I've gone over it time and time again, but I can't find anything wrong. I'll post the HTML and then the CSS.

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

h1 {
    font-family: Verdana;

h3 {
    font-family: Courier;

p {
    color: purple;

/*This is a comment.*/


this exercise requires you to use xml syntax, close the link with a slash:

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


That would explain it. I wasn't aware of needing the slash because I didn't include it in this exercise and it passed fine. Thanks. Especially for the speedy reply.


it is xml syntax, you will use it very little. Normally with the closing slash it is fine.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.