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


#1

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

Here is my html:
...







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?!?!


#2

Hey,

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


#3

<!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>

#4

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.


#5

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


#6

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!


#7

You're welcome :green_heart:

Happy Learning :slightly_smiling:
Happy coding !

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