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

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.