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

Having trouble with question from CODE CHALLENGE: CSS SELECTORS. Help!

Hey all. Having sometrouble with this question on code challenge: css selectors. I think its question #4 or #5.

here it is:

"Add the class "important" to the CSS rules and make that class color red. Then add that class to the last paragraph."

I dont understand what this question is asking me. Please help rephrase. Thank You.

1 Answer

The questions is telling you to create a class called "important" and color it red. then assign that class to the last paragraph. It would be something like this:

in your css file

.important { color: red; }

for the last paragraph

<p class="important"> Paragraph Text Here... </p>

[ed. note] Add markdown to fix code