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 Beginning HTML and CSS Write a CSS Selector and Property

Adding a style element

getting error message

"Bummer! Don't forget to add your style tag.

When I preview it seems to work OK, not sure what ive done wrong. The interface doesnt let me proceed till ive got this right, which I would like to do.

Thanks in advance



    h1 {
      color: orange;

    <h1>Nick Pettit</h1>

4 Answers

Your closing style tag is malformed.

Ryan Hemrick
Ryan Hemrick
12,759 Points

Hello David,

You seem to have forgotten to close your style tag properly.

You have </style

It should be </style>

Hope this helps!

Hi David,

Just looks like you are missing the closing angle bracket on the ending style tag.... Also the code is not wrapped in a "head" tag that I can see?




      <!--  Styling goes here  -->




Hope this helps!


Thanks guys. tutorial has given me a "correct" Ive tried pasting the code as amended but it shows something different each time a post it.

No worries

Thanks again D