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 trialJermaine Trotman
1,760 PointsI have input p { font-family: baskerville, "Times New Roman", Times, serif; } What is wrong with this font property?
This challenge is on the font property section of CSS Foundations.
<!DOCTYPE html>
<html>
<head>
<title>Font Properties</title>
<link rel="stylesheet" href="page.css" />
<link rel="stylesheet" href="style.css" />
</head>
<body>
<h1>The quick brown fox jumps over the lazy dog</h1>
<p>
Pellentesque sem augue, auctor quis dictum et, interdum nec felis. Suspendisse faucibus viverra enim, vitae facilisis mi euismod id. Morbi ac erat mauris, a semper ligula. Etiam semper, nisi vel auctor ultricies, tortor urna dictum magna, iaculis volutpat tortor nisi vel odio. Praesent sed mauris lacus. Etiam semper tempor risus sit amet egestas. In hac habitasse platea dictumst. Aenean varius sapien quis nisl aliquam mollis.Nullam lacinia ipsum sed leo vestibulum vel tempor libero tincidunt.
</p>
</body>
</html>
/* Complete the challenge by writing CSS below */
p {
font-family: baskerville, "Times New Roman", Times, serif;
}
3 Answers
erdragerdragsson
Courses Plus Student 5,887 PointsTry this code, i added a uppercase "B" to the baskerville
p {
font-family: Baskerville, "Times New Roman", Times, serif;
}
Wilson Usman
35,206 PointsI believe Times should be quoted as well.
Jermaine Trotman
1,760 PointsThank you both, I tired the capital B method first and that seemed to be accepted. Thanks!
erdragerdragsson
Courses Plus Student 5,887 PointsOkey, next time if you are stuck on a challenge, look at the forum, because theres alot of thread about the challenges, so you can find your answer there, just like i did.
// erdrag