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

0 points
Submitted by kuzma Fesenko
almost 9 years

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.

Answer 557e85269113cba0320004d2

1 vote

Permalink

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

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

points
Submitted by 5ukrishna
almost 9 years

Answer 5557267b95e378c3e60001f8

-2 votes

Permalink

See the previous step, it is a continuation.

points
Submitted by hatlo
almost 9 years

1 comments

kuzma Fesenko almost 9 years

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.