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 trialMavis McIver
109 PointsDon't forget your style tag
This is what I have typed in, it comes up in the preview correctly, but keeps telling me "don't forget your style tag":
<style>
h1 {
color: blue;
}
</style>
<h1>Mavis McIver</h1>
I'm not sure what else it wants me to do.
2 Answers
Stone Preston
42,016 Pointsyou need to set the color to green, not blue. I tried using your code but changed the color and it passed just fine
<body>
<style>
h1 {
color: green;
}
</style>
<h1>Mavis McIver</h1>
</body>
your style tag looks correct, so im not sure why it was giving you that error. It should have given you an error for using the incorrect color
Øystein Barstad
3,169 PointsRemove "Mavis Mclver" and try again. :) EDIT: nevermind, i misread the question.