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

John Lai
John Lai
4,003 Points

Is this correct?

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

}

3 Answers

Hi John.

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

Only things I saw that may be a problem were the upper-cased 'P' and the lack of capitalization of Baskerville. Not entirely sure whether those would produce errors, but it's better to follow convention.

Edit: I checked. The way you have it written works just as well.

I've noticed in some code challenges the check will fail even though your code is good, just because you may have a space in the wrong place.

James Barnett
James Barnett
39,199 Points

Looks like this code correctness check for this code challenge is overly strict.

Tagging Guil Hernandez on this one

James Barnett
James Barnett
39,199 Points

FYI: There's a submit feedback button at the end of every code challenge where you can tell the Treehouse team about any issues you ran into when working on a code challenge.