Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

CSS How to Make a Website Beginning HTML and CSS Write a CSS Selector and Property

Bianca Bryan
Bianca Bryan
288 Points

Web design task 2 of 3

Writing CSS that will select the h1. In the video we learnt html, I am not totally sure about how to write css.

    h1 {
      color: blue;
  <h1>Nick Pettit</h1>

2 Answers

Alan Bares
Alan Bares
2,312 Points

I just checked and your code does work to pass that task. About the only thing that's wrong is making your h1 blue. The final task says to make it green.

Bianca Bryan
Bianca Bryan
288 Points

Thanks for your answer. Yes, I figured that out as I went back to the video. Thanks.