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

stuck on 1st task: Create a new rule by selecting the paragraph in the document. Create a font stack using Baskerville, Times New Roman, Times, serif.

/* Complete the challenge by writing CSS below */ p { font-family: baskerville, "Times New Roman", Times, serif; }

I have this, but I do not know why i am getting it wrong, can someone help me?

4 Answers

Jonathan Mundy
Jonathan Mundy
9,780 Points

Hi Kalson,

You've almost got it. Change "baskerville" to "Baskerville". It needs a capital "B".

Jonathan

Could be the the b in Baskerville should be uppercase. I wrote Times new Roman and got it wrong until I changed to Times New Roman.

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

oh ok. thanks guys!