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

Kal K
Kal K
13,332 Points

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

Kal K
Kal K
13,332 Points

oh ok. thanks guys!