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

CSS: An Overview Forum

View Course » View Exercise

527 points
541de94b80ff334ced002cc3_875794344
Submitted by
Cameron Banowsky
over 4 years ago

Add comma error. Why?

h1 {
font: "Verdana", "sans-serif";
color: #576D94;
}
p {
font-family: "Garamond";
font-size: 18px;
color: #4A493;
}


2 votes

permalink

font: "Verdana", "sans-serif";

should be

font-family: "Verdana", "sans-serif";

You also don't need to put the font names in "double-quotes". - Saves a few seconds/

309 points
C69bfb49bee5b2ee0b5307397d785b0c?s=140&d=retro
Submitted by
aqua blue
over 4 years ago

1 Comment

541de94b80ff334ced002cc3_875794344 Cameron Banowsky over 4 years ago

i made that change...still getting same error :/


0 votes

permalink

Hello Poop Baron, PLEASE don't put the fonts between quotes, just without like
font-family: Verdana, sans-serif; <---- h1
font-family: Garamond,serif; <---- p

365 points
543fc82f631fe988640020d7_382532424
Submitted by
Tobias Páez
about 3 years ago