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

Checking work is saying I am missing style element, however I am not.

I wrote out the code exactly as I should have, when I check the preview it is my name in blue with nothing else, however when I press "check my work" it is saying I am missing the style element.

index.html
<style>

    h1 {
      color: blue;
    }
</style>

<h1>Sasha Rose Sharp</h1>

1 Answer

Greg Kaleka
Greg Kaleka
39,021 Points

Your style tags have to go inside the body tags for this challenge (it says so... so you have to :). Are you doing that? If so, are you failing the first challenge? Because you're only asked to add style tags, not to also add a rule, as you've shown here.