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

In the challange after the video you get an error if you dont put the style tag inside the body. You never do that.

In the challange after the video you get an error if you dont put the style tag inside the body. Style always go inside a <head></head> tag.

<head>

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

</head>

Above gives an error.

index.html
<body>
  <style>

    h1 {
    color: blue;
    }

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

Edited Thought when you pressed "ask a question" from a video you would send it to the tree house team. But it looks like im redirected to the forums.......

Also the editor dont show html tags since it thinks its part of the post? So their hidden.

Abandoning post.

just make sure you hit tab and indent the color property in the h1 rule.

Matt Cantrill Its still very wrong to put any style tag inside a body tag.