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

Jonathan Davis
PLUS
Jonathan Davis
Courses Plus Student 186 Points

I am not able to get passed this stage because it keeps saying bummer don't forget your style tag.

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

6 Answers

Gianni Zamora
Gianni Zamora
9,547 Points

make sure to put the following code in header or in separate style sheet (separate style sheet will be necessary once you become more advanced)

<style>
 h1{color:blue;}
</style>
Jonathan Davis
PLUS
Jonathan Davis
Courses Plus Student 186 Points

<style> h1{color:blue;} </style> <h1>Nick Pettit</h1> I did it just the way I was showed and I still get the bummer don't forget your style tag,i don't get it!!

Try Copy/Paste this code above, it helps sometimes.

Hi Jonathan,

Your style tags need to be above the h1 tag but still inside the body tag. If you have placed the style tags above the body tag then it won't work.

Also, task 3 is asking you to make the color green not blue.