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

Lipa Steinberg
Lipa Steinberg
227 Points

I have added the curly braces, not sure what the hell is wrong

I can't figure out what's wrong

index.html
<style>
    h1{
    color: blue;
    }
      </style>
    <h1>Lipa Steinberg</h1>
<style>

   body{
    color: blue;

  }

  </style>
<body>Lipa </body>
Allison Davis
Allison Davis
12,698 Points

Hi Lipa, Writing CSS rules using the curly braces needs to take place inside a separate CSS stylesheet that ends in .css and is linked to your index.html file. Good luck!

Allison Davis
Allison Davis
12,698 Points

Whoops, didn't realize you were working on a challenge with inline styles - should have paid more attention to your style tags.

1 Answer

Hi Lipa, is this challenge the one you're having an issue with?

Your code should look something like:

<body>
    <style>
        selector {
            property: value;
        }
    </style>
    <h1>Nick Pettit</h1>
</body>
Lipa Steinberg
Lipa Steinberg
227 Points

Thanks guys, the 'real time' group support is incredible!