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 trialNayah W
Courses Plus Student 1,257 PointsDon't know what I'm doing wrong?
<body>
<style>
h1 {
color: green;
}
<style>
<h1>nick</h1>
</body>
4 Answers
Stone Preston
42,016 Pointsyou have two opening style tags instead of an opening and a closing:
you need to use
<body>
<style>
h1 {
color: green;
}
</style>
<h1>nick</h1>
</body>
instead of
<body>
<style>
h1 {
color: green;
}
<style>
<h1>nick</h1>
</body>
Adam Sackfield
Courses Plus Student 19,663 PointsThe code you have looks correct. But here is the full code for you to check. I just passed it with what is below.
<body>
<style>
h1 {
color: green;
}
</style>
<h1>Nick Pettit</h1>
</body>
Nayah W
Courses Plus Student 1,257 PointsThats what I put but it didnt work, I don't know what I did wrong but thanks.
Stone Preston
42,016 Pointssee my post for what was incorrect with your original answer
Nayah W
Courses Plus Student 1,257 PointsOhhhhhhh lol thanks!
Adam Sackfield
Courses Plus Student 19,663 PointsAdam Sackfield
Courses Plus Student 19,663 PointsDarn it I missed that one. Good spot :)
Dylan Dixon
947 PointsDylan Dixon
947 PointsYeah me too. Man you guys answer fast. I'm trying to get some answers in here and you guys keep taking them all! Haha.
Adam Sackfield
Courses Plus Student 19,663 PointsAdam Sackfield
Courses Plus Student 19,663 PointsHaha sorry Dylan Dixon will try stay off the forum this evening. Let you grab a few questions. I know they are valuable learning aid, as you get a good feeling knowing you solved a problem. :)
Dylan Dixon
947 PointsDylan Dixon
947 Points:P