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

Select the class 'intro' and set its font weight to bold.

.intro {font-weight: bold;}

<p class = "intro">

yet.. it is not working...

the error message is:

"Check the class selector in your CSS. Make sure font-weight is set to bold."

This is challenge 6 of 6 web development CSS.

4 Answers

@warrenpett a class always uses a period and and id uses the # :)

Did you try it with spaces { font-weight: bold; } i know the editor can be a bit picky sometimes.

is it .intro or #intro? always get confused. apart from that it looks right and I'm not sure if spaces matter?

> I'm not sure if spaces matter

Spaces matter in selectors but not in declarations.

I remember now :) that's right. well I got my question answered!