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

Stuck on this question need help.

Create a new rule by selecting the paragraph in the document. Create a font stack using Baskerville, Times New Roman, Times, serif. I tried using

p { font-family: Baskerville, Times New Roman, Times, serif; } but it isn't working though.

10 Answers

Spelling mistake :) It is 'baSkerville' instead of 'bakerSville'.

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

Should work.

Juliano Vargas
PLUS
Juliano Vargas
Courses Plus Student 15,575 Points

capitalize Bakersville like this: p { font-family:Baskerville,"Times New Roman",Times,serif; }

none of these work!

Courtland Santos
Courtland Santos
8,378 Points

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

Capitalization matters in fonts as well. So this should work!

Courtland Santos
Courtland Santos
8,378 Points

Also, you need to put double quotes in your font name if it is more than one word. ex: "Times New Roman".

Juliano Vargas
PLUS
Juliano Vargas
Courses Plus Student 15,575 Points

try using double quotes when more then one word like "Times New Roman"

Pedro Marins
Pedro Marins
1,887 Points

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

doesnt work!

Asim Khaliq
Asim Khaliq
5,020 Points

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

My best for you... p { font: 1.5em Baskerville, "Times New Roman", Times, serif; }