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

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

Code Challenge 3/3

I'm getting a bummer! null message when I go to check my work: I've passed all the way to this point. It says to change the h1 css color to green. What am I doing wrong, we haven't gone over other ways to write color besides spelling it out yet? Why is it wrong?

<body>
  <style>
    h1 {
      color: green;
    }
    <h1>Nick Pettit</h1>
  </style>
</body>

2 Answers

Stone Preston
Stone Preston
42,016 Points
<style>
    h1 {
      color: green;
    }
    <h1>Nick Pettit</h1>
  </style>

you have that h1 tag inside the style tags, it needs to be below the opening and closing style tags, not inside it. everything else looks good

Thank you! I appreciate your quick response! =)

Hi Alisha!

I just wanted to check to see that you have your style tag set up as below:

<body>
    <style>
       h1 {

      }
    </style>
    <h1>Nick Petit</h1>
</body>

I do now! (have my style tags set up that way) lol oops, thanks for helping!