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

CSS: An Overview Forum

View Course » View Exercise

333 points
5085f8dcc9cbc1020000069d_975022710
Submitted by
Weverton Melo
almost 5 years ago

Ops, tente outra vez. Did you remember to add a comma and serif after Garamond?

Give h1 a backup font of sans-serif and p a backup font of serif. Check the Hint if you need a refresher!

Did you remember to add a comma and sans-serif after Verdana?
h1{
font-family:verdana, sans-serif;
color:#576D94;

}

p{
font-family:Garamond, sans-serif;
font-size:18px;
color:#4A4943;

}

What did I do wrong here in this exercise because there is no way?


3 votes

permalink

h1
{
font-family: Verdana, Sans-serif;
color: #576D94;
}
p
{
font-family: Garamond, serif;
font-size: 18px;
color: #4A4943;
}
try this....

287 points
50dc14c150cf80b0a6008214_84179339
Submitted by
sumasri
over 4 years ago

2 Comments

51648b63de0d3b41ee0008d7_16618643 SophiaLuvsBunnys over 4 years ago

THANKS SO MUCH!!!

543fc82f631fe988640020d7_382532424 Tobias Páez almost 3 years ago

Hello Weverton, Verdana goes with first letter in Capital, ALSO on Garamont goes serif and NOT sans-serif


0 votes

permalink

Garamond is a serif font. The p backup should say "Garamond, serif;"

692 points
50c8aa845f1c4c93f200652a_924031435
Submitted by
excowboy
almost 5 years ago


0 votes

permalink

I just noticed that it makes a difference whether you use a minus or a hyphen between
"Sans" and "Serif"

PS: I use Firefox.

655 points
9ac640fc9eba325af38934f25c496574?s=140&d=retro
Submitted by
arcPro44726
almost 5 years ago


0 votes

permalink

h1{
font-family:verdana, sans-serif;
color:#576D94;

}

p{
font-family:Garamond, serif;
font-size:18px;
color:#4A4943;

}

297 points
534827b780ff33b14f000cd0_426265595
Submitted by
BRnOnlyhack
over 3 years ago

1 Comment

543fc82f631fe988640020d7_382532424 Tobias Páez almost 3 years ago

Hello BRnOnlyhack, your code is WRONG, Verdana goes with first letter in CAPITAL