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

does not work cannot go pass to the next

cannot move to the next level.

preview shows color change

index.html
<style>

  h1 {

  color: blue;

  }

</style>

<h1>Nick Pettit</h1>

I think the question wants the code in the css file not in the html file.

4 Answers

Try proper css embed tags - Example

Use the separate file to place your css and it will work

hi Paul everything looks okay i tried the challenge just now and its asking for the color green, so just check again or try my code.

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

Paul's code is valid, the code challenge wants the h1 to be set to green, not blue.