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

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!