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

I am stuck on a question and I can't move on until I answer it, but I can't answer it.

No additional details

So what's the question???

Stephen, we're going to need you to provide some more information than that. Can you copy and paste the question to your post here? If you're on a code challenge, you might want to also post your code back here so we can look at it for you.

2 Answers

Juan Ferreras
Juan Ferreras
28,028 Points

Hey, the challenge asks you to write a CSS rule in 3 steps:

First: write the <style></style> tags.

Second: write h1 { } in between of those, to select the h1 tag (aka the selector)

Finally: write color: green; to change the color of the h1 (aka the declaration)

The final result should then look like the following:

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

Thank you so much, Juan; it worked!