CSS font-family problem


#1

<PLEASE USE THIS TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>
https://www.codecademy.com/en/courses/web-beginner-en-TlhFi/1/6?curriculum_id=50579fb998b470000202dc8b

<Below this line, in what way does your code behave incorrectly? Include ALL error messages.>
Oops, try again. Did you remember to make your h1 font-family Verdana?

``` h1 { font-family: Verdana; }

h3 {
font-family: Courier;
}

p {
color: purple;
}

/* css comments */

<do not remove the three backticks above>

#2

It doesn’t look like the copy/paste formatted well. I will try again:

h1 {
font-family: Verdana;
}

h3 {
font-family: Courier;
}

p {
color: purple;
}

/* css comments */

and here is my index.html

	<title>Result</title>
</head>
<body>
	<h1>Change me to Verdana.</h1>
	<h3>Change me to Courier.</h3>
	<p>Make me purple!</p>
</body>

#3

I don’t see any problem in your css code, but I could be wrong. I just see a problem in your html. You forgot to put the link, the <!Doctype html> and your starting and closing tags! Maybe if you fix that, it will help. If it doesn’t, try refreshing or going to a different browser. I had the same css code, and an html with all the things I suggested you should fix, and it said I was correct! Hope this helps!


#4

Thanks for the help.


#5

No problem! Glad you solved it :slight_smile:


#6

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