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

Bummer! Don't forget your style tag.

hi

im getting the above message in the challenge on stage 1 of how to make a website even though I have entered the style tags. Can you please advise what I am doing wrong?

thanks

Jacob Miller
Jacob Miller
12,466 Points

Can we see your code? Thanks.

1 Answer

kirkbyo
kirkbyo
15,791 Points

In this challenge, it wants you to add a style tag. Inside your style tags you should include some CSS to change the color inside h1 to green. I have included some code bellow, all you need is to add the css to change the h1 to green and you should be able to complete this task.

<body>
    <style>
      h1 {

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