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 trialMaria Dixon
3,371 PointsClosing 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 :)
3 Answers
Dave McFarland
Treehouse TeacherHi 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!!!
Samiullah khan
Courses Plus Student 5,994 PointsNothing can't be tell unless you are able to share the code.
Maria Dixon
3,371 Points<style>
h1 {
color: blue;
}
</style>
<body>
<h1>Maria Dixon</h1>
</body>
Maria Dixon
3,371 PointsI don't know how to insert code. My above post is missing style and the body tags.
Dave McFarland
Treehouse TeacherHi 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
Dave McFarland
Treehouse TeacherDave McFarland
Treehouse TeacherMaria Dixon
Can you please show us the code you are entering for this challenge?