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

Evelyn Green
Evelyn Green
544 Points

Working on How to make a Web page. My error keeps coming back that i am forgetting my (style tag) I cant seem to get it.

I'll keep trying to someone can help me

index.html
<style>
  h1  {
  color:  blue;

  }

  <style>
<body>    
    <h1>Nick Pettit</h1>
</body>

4 Answers

You forgot to close your style tags instead of: <style> h1 { color: blue;

} <style>

You should have: <style> h1 { color: blue;

} </style>

You need to close your style tags by using a forward slash before the word 'style' on your last tag.

Evelyn Green
Evelyn Green
544 Points

Yes, I just figure it out I was missing closing <style> I figured it was </style>, not paying attention, thanks for getting back to me so soon.

You're welcome :)

Caleb Kleveter
MOD
Caleb Kleveter
Treehouse Moderator 37,862 Points

The closing style tag should be

</style>

instead of

 <style>

All closing tag have the forward slash.

Evelyn Green
Evelyn Green
544 Points

Thanks to all...........I'm going to love this !!!!