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

CSS: An Overview Forum

View Course » View Exercise

158 points
947251dbade4de45f2d7ad61c1c6ce0e?s=140&d=retro
Submitted by
Ansonseng
almost 4 years ago

[solved] Any mistake for this syntax?

Can you help me to check any mistake for below?
h1{
font-family:Verdana,Sans-serif;
}
p
{
font-family:Garamond,Serif;
}

Thank you


2 votes

permalink

Real font names are spelled the way they were published which normally is capitalized ( you got that right).

Generic fonts as in small letters, like sans-serif instead of Sans-, and serif instead of Serif...

2946 points
5533b41186f55278520000c6_295543857
Submitted by
tony de araujo
almost 4 years ago


0 votes

permalink

It works

159 points
524aa1ccf10c60379a000b47_439730738
Submitted by
Declana
almost 4 years ago