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

CSS: An Overview Forum

View Course » View Exercise

86 points
16b5dfd92a6d92a8684b1ecee75e74ac?s=140&d=retro
Submitted by
kuzma Fesenko
about 2 years ago

Instructions Unclear, Fist Stuck In Computer. 24/26

Hi, it appears that some parts of step 24/26 in CSS: An Overview are incorrect.

First of all, the section is for setting of fallback choices of font-family. Instructions state to give h1 a backup font of sans-serif, but does not even specify the original font it should have.

Then, when you try to submit your code in the manner that the instructions state it says:

Oops, try again. Did you set your p font-family to Garamond?

Why yes, yes I did:

p {
    font-family: Garamond, serif;
}

h1 {
    font-family: sans-serif;
}

If I throw Courier before "sans-serif" for h1, I can get it to throw out this error message:

Oops, try again. Did you remember to add a comma and sans-serif after Verdana?

Hmm, interesting, it appears that Verdana should be in there somewhere. But even replacing Courier with Verdana, it throws out the previous message about Garamond.

Then I flipped seirf and Garamond, which asked if I "remembered to put a comma and serif after Garamond". Okay, so I re-flipped them back the way it was and voila it works!

p {
    font-family: Garamond, serif;
}

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

Strange though that it took a lot of tinkering to get it to pass finally.

Also, I have to refresh the page after clicking "save and submit code" because after it fails it just shows a spinning gear. Then when clicking to the next lesson, it automatically starts out with a spinning gear....

Really love this site so far though! It's been really fun, and I can understand that "I get what I pay for". However I think it would be really cool for this to get fixed so that others will not have to run into the same problem in the future.


1 vote

permalink

h1 {
font-family: Verdana,sans-serif;
color:#576D94;
}

p{
font-size: 18px;
color: #4A4943;
font-family: Garamond, serif;
}

890 points
56f8f6fa6c20fe417d000292_684373001
Submitted by
5ukrishna
about 2 years ago


-2 votes

permalink

See the previous step, it is a continuation.

659 points
Dcc7a2c691d8c1c8291e4340e70b96fd?s=140&d=retro
Submitted by
hatlo
about 2 years ago

1 Comment

16b5dfd92a6d92a8684b1ecee75e74ac?s=140&d=retro kuzma Fesenko about 2 years ago

Weird, I don't know how that got messed up. But still, my other points are valid. The "save and submit code" button only works one time after step 23 it seems. The preview section does not reflect changes in the .css file, and you have to refresh the page after every failed attempt because it just sticks at the spinning gear.