Where is the error in the CSS file on h1 font family?


#1
h1 {
   font-family: Verdana;
   color: #576d94;
}

p {
    font-size: 18px;
    color: #4a4943;
}

#2

The editor says I have not set the font-family to Verdana. I have and I don't see a missed semicolon or bracket. Any suggestions would be greatly appreciated.


#3

Hi Kchoover,

I'm not seeing any problems in the code you posted. Would you mind giving a link to the exercise you're on, and also posting your HTML code?
Thanks :)


#4

i'm in question 23 of CSS

<!DOCTYPE html>
<html>
	<head>
	  <link-type="text/css" rel="stylesheet" href="stylesheet.css"/>
		<title>Result</title>
	</head>
	<body>
	 <h1>We are Styling Now Baby!</h1>
	  <p>Now is the time to practice our CSS. We all know that repitition is the key to learning. Well at least it is for me. Hopefully by the time I get done with all of this I will be able to earn a living.
	  </P>
	</body>
</html>`indent preformatted text by 4 spaces`

#5

here is the link
https://www.codecademy.com/ru/courses/web-beginner-en-TlhFi/4/2?curriculum_id=50579fb998b470000202dc8b#


#6

<link-type should be <link type :)


#7

I'll fix that pronto. Thank you.


#8

Thank-you a million times over! I would have never thought to look at the html code. I took out that "dash" and it fixed it. Boy did I learn something about debugging tonight.

Graciously yours

KC Hoover


#9

Hi, I am having the same issue when setting the h1 font to Verdana, i have reviewed the html and the css a thousand times but when I summit it , I keep getting the same message: Don't forget to set your h1 font to Verdana! Can you help me?
I am in exercise 23 and this is my CSS:
h1{
font-family: Verdana;
color: #576D94;
}
p
{
font-size: 18px;
color: #4A4943;
}


#10

Your css is fine, can we see your html code?


#11








once again


trying hard


but not working




#12

if you edit/update your question, leave a reply so i get a notification. Your code is not visible, take the following steps to make your code visible:

select your code and press ctrl + k (or cmd + k if you use a mac)

if this instructions are unclear, you can also insert 3 backticks before and after your code, like so:

```
<p>visible</p>
```

the backtick is located above the tab key on your keyboard


#13

<!DOCTYPE html>
<html>
	<head>
	<link type="text/css";rel="stylesheet";href="stylesheet.css">
		<title>Result</title>
	</head>
	<body>
	    <h1>once again</h1>
	    <p>trying hard</p>
	    <p>but not working</p>
	</body>
</html>

#14

atrributes (type, rel, href) are seperated by spaces, not semi-colons


#15

Thank you so much!! You are right! i was having the same issue with more exercises.
Now everything makes sense :grin: