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 trialHugo Leeney
3,606 PointsBroken!!
I add a style tag and no matter what I do it tells me to add a style tag... I try just an opening tag, opening and closing tag, opening and closing on different lines, with spaces between...., with a h1 selector, a <style /> tag etc. etc. Nothing works .. 'Bummer!'
3 Answers
James Barnett
39,199 PointsHugo Leeney - The tasks ask you to set the color of the h1 to green
not blue
.
Hugo Leeney
3,606 PointsThis rather unlikely bit of code fixes it.. This sucks. Tags the lesson doesn't introduce, style tags in places they shouldn't be ... good thing I know html and css already.
<body>
<style>
h1 {
color: blue;
}
</style>
<h1>Nick Pettit</h1>
</body>
Jamie Williams
5,097 PointsNot sure how you're typing your style tag out but the finished code looks like this once you've done all 3 tasks:
<body>
<style>h1 {color: green;}</style>
<h1>Nick Pettit</h1>
</body>