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

CSS: An Overview Forum

View Course » View Exercise

287 points
50dc14c150cf80b0a6008214_84179339
Submitted by
sumasri
almost 5 years ago

WHAT IS WRONG IN MY CODE? PLEASE ANYBODY HELP ME:(

h1
{
Font-Family Serif;
}
h2
{
Font-Family Sans-Serif;
}
h3
{
Font-Family Cursive;
}

ERROR SHOWS:Oops, try again.
Did you remember to set your header font-family to sans-serif?


0 votes

permalink

The correct format is:

font-family:Serif;

font-family:Sans-Serif;

font-family:Cursive;

Do not forget ':' and writte exactly the same words.

Cheers!!!

1178 points
5163d924e5461c2a3d00194d_225446832
Submitted by
Sandra Torra
almost 5 years ago

1 Comment

5163d924e5461c2a3d00194d_225446832 Sandra Torra almost 5 years ago

And, at last, I think you have to writte: serif, sans-serif and cursive.
Cheers!!!


0 votes

permalink

The generic font-family names are all lowercase. Do Not Capitalize.

1108 points
1a4ccc0320a4901b6728a195ebe0058c?s=140&d=retro
Submitted by
Denver
almost 5 years ago