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

What is the problem?

<html> <head> <style> h1 { color: blue; } </style> </head>
<body> <h1>Eser SAHIN</h1> </body> </html>

Hello, When i wrote the above code and then click to preview button, everything is ok but when i click the recheck work button and get this message

"Bummer! Don't forget your style tag."

I didn't understand, where is the problem?

Thank you :)

4 Answers

The code I typed goes inside the body tags. Before the h1 tag.

<body>
  <style>
h1 {
  color: blue;
}
  </style>
  <h1>Eser SAHIN</h1>
</body>

That code should fix it.

Did you put that code inside of style tags?

It should look like this:

<style>
h1 {
  color: blue;
}
</style>
<style>
h1 {
  color: blue;
}
</style>
<body>
    <h1>Eser SAHIN</h1>
</body>

Applying this form and do the same error message : Bummer! Don't forget your style tag.

http://share.pho.to/5UyjB

I thought it should be (style tag out of the body element) like that.

Thank you Fidel :)