Lesson 12-"Oops, try again. Did you remember to make your h1 font-family Verdana?"


#1

Hi there. I've read over the forum but can't find anybody with the same issue as me.

I'm quite sure that I have all the code correct but nothing is changing. Please help.

Here's the HTML:

Here's the CSS:

Thanks.


#2

general css syntax:

selector {
  property: value;
}

after a property, there should be a colon, not a equal sign


#3

Damn it all!

Thanks so much. Such a simple error. I can't believe I missed that.

Many thanks!


#4

The syntax is right but i also get the same error why?
https://www.codecademy.com/courses/web-beginner-en-TlhFi/1/6?curriculum_id=50579fb998b470000202dc8b#


#5

That link will just take me to my own exercise, copy and paste your code to the forum (both html and css)


#6

oh okay.

<!DOCTYPE html>
<html>
	<head>
	
<link type="text/css" rel="stylesheet" href="stylesheet.css"/>

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

CSS

/*understanding css*/

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

h1 {
    font-family: Verdana;
}

h3 {
    font-family: Courier;
}

p {
    color: purple;
}

#7

what is this:

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

doing in your css? In your html i can understand, to tell where the css file is, but it doesn't belong in css itself.

for next time, use one of the two following options to make your code/indent is visible:

select your code and press ctrl + shift + c (or cmd + shift + c 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


#8

Thanks for the time and help.