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

Rebecca Tomino
Rebecca Tomino
2,412 Points

Answer is correct but saying it's not.

I'm entering the code properly as <style>h1 { color: blue; } </style> but it's saying that I don't have my style tags?

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

2 Answers

Hi Rebecca,

For this challenge, the style element needs to go just above the h1 element, inside the body tag.


Rebecca Tomino
Rebecca Tomino
2,412 Points

Oh ok, thank you so much! It seems a bit strange for it to go inside the body tag when it belongs in the head tag. :/