Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS CSS Foundations Text, Fonts, and Lists Font Properties

Why isn't Challenge tsk 1, Stge 5 of CSS Foundations accepting my code? Question (& my response) are exact from video

Question asks to create new paragraph rule using font stack of Baskerville, Times New Roman, Times and serif. My css code response:

p {
   font-family: baskerville, "Times New Roman", Times, serif; 
}

Seems right to me but I get the "Bummer! check the font-family" response. :-/

3 Answers

Hi Matt,

Try an uppercase B on baskerville.

Thanks, Jason- that did the job! Thought I'd tried that before bringing this to the forum. Have to remember case-sensitivity is an issue sometimes (yet Guil's video example was lower-cased. Weird.) :-)

It may be case insensitive in the browser. The css3 fonts module says that it is supposed to be that way.

I think to be safe I would always match the case.

The code challenge might be checking for exact string matches and that could be why lowercase doesn't work.

I had that problem too. I believe the instructor tells you that the name of the font has to EXACTLY match the name in whatever database or source you're using. That includes case sensitivity, underscores, etc...