Many selectors many properties, lesson 23 error message


#1



Help, I've tried everything (including looking at all the forums with the similar problems) and I can't find anything to fix the problem.

I keep getting the error message "Oops! Don't forget to set your h1 font to Verdana!"


Here is my CSS:

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


And here is the HTML:

<!DOCTYPE html>
<html>
	<head>
	<link-type="text/css"/> <rel="stylesheet"/> <href="stylesheet.css"/>
	    <title>Help</title>
	</head>
	    <body>
	        <h1>hello</h1>
            	<p>my name is doug. I'm a dog.</p>
	    </body>
</html>


Please help! I've tried everything I can think of.


#2

the <link> to your stylesheet has a few flaws, maybe revisit link it up for a syntax refresher?


#3

You have a dash between link and type that is not needed.
After Style sheet the / and the > are not supposed to be there
Before href get rid of <

Your CSS is fine :slight_smile:


#4

Correct me if I'm wrong, but was that all clear?


#5

you missed the /> after text/css, that also shouldn't be there


#6

Alright, glad we both saw pretty much the same thing :smile:


#7

Thanks everyone, I was way off! It's all fixed now.


#8

No problem, the code wasn't perfect but go back to other lessons before asking here. They do explain a lot more then imagined!


Many selectors many properties, lesson 23, error