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

Maria Dixon
Maria Dixon
3,371 Points

Closing Style Tag

I'm not sure why I'm getting a "Close style tag" error when my style tag is closed. I previewed this on an external text editor and I am getting the blue text effect as seen in the video. Help please :)

Dave McFarland
Dave McFarland
Treehouse Teacher

Maria Dixon

Can you please show us the code you are entering for this challenge?

3 Answers

Dave McFarland
STAFF
Dave McFarland
Treehouse Teacher

Hi Maria Dixon

Here's the instruction for the code challenge : "Finally, set the color of the h1 element to green." Check the color you used in your code. Keep with it!!!

Nothing can't be tell unless you are able to share the code.

Maria Dixon
Maria Dixon
3,371 Points
<style>
  h1 {
  color: blue; 
}
</style>
<body>
    <h1>Maria Dixon</h1>
</body>
Maria Dixon
Maria Dixon
3,371 Points

I don't know how to insert code. My above post is missing style and the body tags.

Dave McFarland
Dave McFarland
Treehouse Teacher

Hi Maria,

I fixed your code in your post. Here's a forum post on how to insert code: https://teamtreehouse.com/forum/posting-code-to-the-forum