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

selector and property.

I am not receiving completion credit for selector property,am I supposed to complete the project in the index.html box given?i am confused.

6 Answers

You're supposed to insert the opening and closing <style> tags above the <h1> element, and then write the css inside them.

thanks for responding man im still not getting it.

Could you paste your code here?

am I supposed to complete it in workspaces or in the index box given,i keeps telling me awww bummer don't forget your style

You are supposed to do it in the input provided in the challenge, not the workspace.

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

The style tag should be inside the body tag, just above the h1, and the challenge asks for green color, not silver.

thanks for your time

ok thanks I thought you could choose any color well thanks a lot bro you eased 2 days of frustrations and I am only at the beginning.