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

CSS: An Overview Forum

View Course » View Exercise

412 points
5620302695e3786c16000138_859615111
Submitted by
Jennifer1713
over 1 year ago

help?

h1{font-family:Serif}
h2{font-family:Sans-serif}

h3{font-family:Cursive}


0 votes

permalink

A property consists of
a property-key
and its associated property-Value
like
font-family: serif

The property-Value's are case-sensitive
so in this case you will have to use
serif
sans-serif
cursive

3316 points
5334fc819c4e9db930001a0d_32139218
Submitted by
Leon
over 1 year ago


0 votes

permalink

Along with above answer
You also have to add a semicolon(;) after every property value so the correct way is
h1{font-family:serif;}
h2{font-family:sans-serif;}

h3{font-family:cursive;}

339 points
7e9e201b1b9dcab2f4b99888fff058f8?s=140&d=retro
Submitted by
Bhagwati1995
over 1 year ago

4 Comments

5620302695e3786c16000138_859615111 Jennifer1713 over 1 year ago

h1{font-family:Serif;}
h2{font-family:Sans-serif;}

h3{font-family:Cursive;}

its still wrong?

5334fc819c4e9db930001a0d_32139218 Leon over 1 year ago

Why are you writing Serif instead of all-lowercase serif ??

5334fc819c4e9db930001a0d_32139218 Leon over 1 year ago

Why are you writing Sans-serif instead of all-lowercase sans-serif ??

5334fc819c4e9db930001a0d_32139218 Leon over 1 year ago

Why are you writing Cursive instead of all-lowercase cursive ??


0 votes

permalink

thatnks for your help mr. leon

412 points
5620302695e3786c16000138_859615111
Submitted by
Jennifer1713
over 1 year ago