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!

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

Thiago Reis
Thiago Reis
2,247 Points

Why is it saying I'm forgetting my style tag?

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

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

3 Answers

Hey Alvarez,

The problem is that the color should be green not red. Your code is correct, otherwise.

Yes, following directions is very important.

+1 to this, my friend.

I would have to test this in the challenge, but try this:

<h1>Nick Pettit</h1>

Spacing sometimes matters even when the code is technically correct.