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

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,547 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,547 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; }