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 How to Make a Website Customizing Colors and Fonts Write Hexadecimal Colors

analyn jane calado
analyn jane calado
3,523 Points

where should I put the paragraph?

where should I put the paragraph?

css/main.css
a {
  text-decoration: none;
}

#wrapper {
  max-width: 940px;
  margin: 0 auto;
}

#logo {
  text-align: center;
  margin: 0;
}

h1,h2 {
  color: #fff;
}

{
  paragraphs: #000000;
}

2 Answers

Connor Glynn
Connor Glynn
6,381 Points

if you're trying to change the color of the < p > element then you need to use

p {
  color: #000000;
}

instead of

{
  paragraphs: #000000;
}

hope that helps! :)

William Li
William Li
Courses Plus Student 26,868 Points

Hi, Connor, I moved your comment into an answer, because this really is a perfectly good answer to the question; I also wrapped your code using Markdown block to make it look a little nicer. :)

Ben Brenton
Ben Brenton
266 Points

As an addition to the previous answer, due to the cascading nature of CSS, I tend to put all my selectors in the order they are on the page so my CSS file(s) are easier to search through for amendments. So, for example, my <p> styling would normally go between my "header" and "footer" so I know where to find it.