8: One Selector, Many Properties. Error with Garamond font

https://www.codecademy.com/courses/web-beginner-en-TlhFi/1/2?curriculum_id=50579fb998b470000202dc8b#

Here is my html:

Result

You're about to style this paragraph with CSS all on your own!

... And my CSS:

p {
font-family: Garamond;
color: green;
font-size: 24px;
}

The error message: Oops, try again. It looks like your paragraph isn’t in the font Garamond.

I have no clue what the issue is. I have copied this exactly from the example except changed the font from Arial to Garamond.

HELP?!?!

Hey,

Please cannot see your HTML please paste in your code using this format, also paste in your full CSS

<!DOCTYPE html>
<html>
	<head>
		<link type="text/css" rel="stylesheet" href="stylesheet          .css"/>
		<title>Result</title>
	</head>
	<body>
		<p>You're about to style this paragraph with CSS all on your own!</p>
	</body>
</html>

And that is the full CSS. That is all that is in there so far. I am just supposed to do font-size, color and font-family.

You shouldn’t have a space in your link between stylesheet and .css
Remove spaces and it should do the trick

Got it! Those were there because it was on separate lines. But I removed them and it worked! THANK YOU SO MUCH!!! This has been killing me!

1 Like

You’re welcome :green_heart:

Happy Learning :slightly_smiling:
Happy coding !

What inspired you to learn programming/coding?
Join the discussion