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 trialJames Baker
144 PointsWhat am I doing wrong
I cannot get the challenge h1 to turn green <style> h1 { color: green; } </style>
4 Answers
Alex Hedley
16,381 PointsDid you wrap it in style tags like the questions says?
<style></style>
Jacob Miller
12,466 PointsYour code should look like this:
<body>
<style>
h1 {
color: green;
}
</style>
<h1>Nick Pettit</h1>
</body>
James Baker
144 PointsThat is exactly how I wrote it .Still says I am wrong. hmm
Usman Sheikh
2,860 PointsCan you post the code that's not working?
James Baker
144 Pointsgood question does anybody know if we can do that ? and how? I have a feeling im going to be needing to know that.lol
Jacob Miller
12,466 PointsCheck out the video to the right called "Tips for asking questions". They show you how to post code.
James Baker
144 PointsI did use my own name like instructed to in the video. I did not preview the blue before changing to green I wonder if that is it? stuck
Alex Hedley
16,381 PointsPart 1 just asked for the style nothing else, try just adding
<body>
<style>
</style>
<h1>Nick P</h1>
</body>
James Baker
144 PointsJames Baker
144 Pointsyes I did that