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

Andrew Thomas
seal-mask
.a{fill-rule:evenodd;}techdegree
Andrew Thomas
Front End Web Development Techdegree Student 14,698 Points

Code Challenge: Font Properties

Hi there, I'm having trouble with a Code Challenge. Here is the challenge task:

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

My code:

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

Any idea what I'm doing wrong?

2 Answers

Dave McFarland
STAFF
Dave McFarland
Treehouse Teacher

Capitalize Baskerville. It's the lowercase 'b' that's stopping it from passing.

Andrew Thomas
seal-mask
.a{fill-rule:evenodd;}techdegree
Andrew Thomas
Front End Web Development Techdegree Student 14,698 Points

Weird, I tried capitalizing it once with no luck. Then I closed the browser, restarted Treehouse, and it worked. The reason I did lowercase 'b' was because the video instructor did. Thanks!