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

CSS: An Overview Forum

View Course » View Exercise

566 points
156105ef8477249a475d487764c4d9a2?s=140&d=retro
Submitted by
Kunkel
over 4 years ago

Help!

why wont this work
h1{font-family:Times,serif}
h2{font-family: Verdana,sans-serif}
h3{font-family: Vivaldi,cursive}
it says try again. did you remember to put a comma between times and serif


1 vote

permalink

Also don't forget the semicolons at the end of the font. For example:
h1{
font-family:Times, serif;
}

699 points
1132d182567171b346afa8ea0c9e393e?s=140&d=retro
Submitted by
Fariella
over 4 years ago


1 vote

permalink

Your code isn't properly placed. Example good placing:

h2{
    font-family: Verdana, sans-serif;
}

You need a semi-colon ; after each font-family line. Semi-colons are very important in this case. Also you need a space after each font-family. Example:

font-family: vivaldi, cursive;

642 points
5793e37558212240e90003fd_774329516
Submitted by
iiRosie1
about 2 years ago


0 votes

permalink

It looks good to me. Try laying it it as shown, full length. Sometimes these consoles won't play if you don't do it exactly as requested.

h1 {
font-family: Times, serif
}

and so on...

455 points
A29eff8fb52468082322dd35213f9178?s=140&d=retro
Submitted by
geds40
over 4 years ago

1 Comment

5793e37558212240e90003fd_774329516 iiRosie1 about 2 years ago

Semi-colon