Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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