This forum is now read-only. Please use our new forums at discuss.codecademy.com.

CSS: An Overview Forum

View Course » View Exercise

285 points
B8d6469dbba83075f93cba7fd3a7c261?s=140&d=retro
Submitted by
NEVERnever
over 4 years ago

I hate garamond

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

and result is

Oops, try again.
It looks like your paragraph isn't in the font Garamond.

what am I doing wrong?


2 votes

permalink

Works for me when I paste that in.... here is what I have:

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

481 points
5127a79eccbb73071700119e_783206376
Submitted by
SunshineLYR
over 4 years ago


0 votes

permalink

I was having the same problem, and when I cut and paste what you had, it WORKED! Maybe placement has something to do with it??? Oh well, thanks for you help!

85 points
514c852eaf4b609cd4000828_117329755
Submitted by
GENERALCODE100
over 4 years ago


0 votes

permalink

Try doing it like this:

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

Instead of putting the font-family at front, put it after the color and before the font-size.

0 points
Default_user
Submitted by
anonymous
over 4 years ago


0 votes

permalink

to pass it just remove everything in index.html

269 points
B97f303650ca2dde24df26d01e54b46f?s=140&d=retro
Submitted by
sasklacz
over 4 years ago

1 Comment

520a859180ff33594400046d_953907149 Niko over 4 years ago

Uh, no, I don't think so.


0 votes

permalink

Do you have a link to the CSS in your HTML? I sometimes forget to add my link!

666 points
520a859180ff33594400046d_953907149
Submitted by
Niko
over 4 years ago


0 votes

permalink

In the Instructions, it says, "Underneath your color: green property-value pair but BEFORE the final }!), set the font-family to Garamond, and the font-size to 24px.

243 points
52342ab6abf821c57a00329a_107197112
Submitted by
Jennifer
about 4 years ago