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

No matter what code I use, it tells me its incorrect, so I can't complete the module.

I've typed in identical to what I have in my workspace and its still coming up as wrong, even though it works perfectly in workspaces.

index.html
<body>
    <h1>Nick Pettit</h1>
</body>

3 Answers

Hi James Dennan

The question asks you to include a style element above the h1 element, so your code should look like this

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

Did you add the style tag above it?

Ah, I thought it meant I had to include Color as well. thanks :-)

You're welcome