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


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.



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

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

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