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

CSS: An Overview Forum

View Course » View Exercise

937 points
D1d3838d2ac79eb7d574dfb5fe8b6f96?s=140&d=retro
Submitted by
Nick
almost 3 years ago

Cant get 5/6 to work

It says Oops, try again. Did you remember to put Times and a comma between font-family and serif?

Here is my code

<!DOCTYPE html>
<html>
    <head>
        <link type="text/css" rel="stylesheet" href="stylesheet.css"/>
        <title>Result</title>
    </head>
    <body>
        <h1>I'm going to be a serif font when I grow up!</h1>
        <h2>I'm going to be a sans-serif font.</h2>
        <h3>I'm going to be in cursive!</h3>
    </body>
</html>

and

h1 {
    font-family: Times, serif;
}

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

h3 {
    font-family: Vivaldi, cursive;
}

1 vote

permalink

Nicely corrected formatted! Bad news, your code works fine.

Good news, this might be a tiny glitch, for this one exercise switch (preferable firefox or chrome)

2816 points
593d545c83696644420003b7_64554016
Submitted by
stetim94
almost 3 years ago


0 votes

permalink

Maybe try to reload your codecademy website because your code looks fine. :) Weird.

642 points
5793e37558212240e90003fd_774329516
Submitted by
iiRosie1
over 2 years ago


-5 votes

permalink

i'm Obama Lama!!!!

197 points
555b5cd176b8feaee80006ae_136307664
Submitted by
Ryan Hagarty
over 2 years ago