Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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>