This forum is now read-only. Please use our new forums! Go to forums

0 points
Submitted by Kee Rok
over 8 years

{RESOLVED} HTML & CSS: Still stuck at 16, logging out/in doesn't work!

Instructions: Set the font-family of the <h1> header to serif, the <h2> to sans-serif, and the <h3> to cursive.

Here is how my stylesheet.css looks like.

/*Add your CSS below!*/
h1 {
    font-family: serif ;
}

h2 {
    font-family: sans-serif ;
}

h3 {
    font-family: cursive ;
}

Here’s how the index.html looks like.

<!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>

I get the error “Oops, try again. Did you remember to set your <h1> header font-family to serif?”.

Logging out then back in doesn’t work. In case it matters, I’m using Opera 12.16 on WinXP SP3. Please help.

Answer 55cbf47ad3292f0f4c000397

1 vote

Permalink

Hmmph!

Switched to Chrome without modifying anything and it passed. Apparently, Codecademy isn’t Opera-friendly.

points
Submitted by Kee Rok
over 8 years

Answer 55f302729376767b9e00045a

0 votes

Permalink

Doesn’t work with ie11 either. stuck with same message.

points
Submitted by Phil
over 8 years