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

0 points
Submitted by Darren Haynes
about 10 years

For those having problems with 4.3 (16/23) - Read This

So you got the right answer, but it just won’t work! Codeacademy just won’t accept it!

Just to be sure, the answer should be:

p:first-child {
    font-family: Cursive;
}

BUT - you need to remove the comment at the top of “stylesheet.css” for the code to work. The comment is somthing like “/* write CSS code below*/“. Delete, then it will work.

I thought I would write this up here because I got very frustrated. Other answers for this state that you may need to change browsers for it to work. I tried chrome and firefox on windows 7 and then chrome, firefox and safari on my wife’s Macbook - but no result! So as a last shot I thought let’s just remove the css comment and see - and bingo.

Answer 53d5f0cf8c1ccca298001146

1 vote

Permalink

For me it worked to add a space between div and the colon. Very strange…

points
Submitted by Marin Althuis
over 9 years

Answer 53f3a71180ff33b4440001e5

1 vote

Permalink

I think I had finally come to the conclusion that the type of “font-family” had to be Capitalized. and now - it seems it does not!!!

Removing comments didn’t work. putting “cursive” in lower-case did.

Oy.

points
Submitted by MSweigart
over 9 years

1 comments

pridja over 8 years

hair-pulling!!!!

Answer 52de9324282ae39fe80040cc

0 votes

Permalink

I find this really helpful for us if we ever having different browser

points
Submitted by Mikeladheri
about 10 years

Answer 52e2be36548c350ea7000cc6

0 votes

Permalink

Thanks a lot!

points
Submitted by Gerard Decina
about 10 years

Answer 52ffe4ca52f86372ee007001

0 votes

Permalink

thanks, but still did not work for me.

points
Submitted by patrickjayne
about 10 years

3 comments

diablousemanon about 10 years

Did you type Cursive? Try using all lowercase and it should work

patrickjayne about 10 years

thanks, it worked the next day. all lowercase.

Answer 53235f248c1ccc5fda0010dd

0 votes

Permalink

The problem is that the instructions say “On the CSS tab, set the first paragraph’s font-family to cursive.”

Up until now the instructions have called for font-family types to be put in with an uppercase first character in the string (*such as Cursive or Tahoma). Just spell the font out all lowercase in this exercise and it works fine.

points
Submitted by Craig
about 10 years

Answer 5325cdc78c1ccc3fe5007081

0 votes

Permalink

I have been using Maxthon browser up to this question, and had the CSS coding as above, but codeacademy just would not let me go to the next question. I changed to IE 11 and the same code worked.

points
Submitted by Richard Atkinson
about 10 years

Answer 53b167148c1ccc7390004f47

0 votes

Permalink

Thanks, very helpful.

points
Submitted by Chef Ahu
over 9 years

Answer 5559103d95e378b28a000628

0 votes

Permalink

Absolutely helpful.

points
Submitted by alyssa_gott
almost 9 years

Answer 55f9040a51b8877bda00016a

0 votes

Permalink

Lowercase “cursive” worked for me! Thanks!!

points
Submitted by Micinmylefthand
over 8 years