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 trialjamie Macdiarmid
2,048 PointsStuck
Is this not right?
<style>
h1 {
color: green:
}
</style>
<h1>Nick Pettit</h1>
2 Answers
Jonathan Grieve
Treehouse Moderator 91,253 PointsYes Paul is right the colon at the end of your value is messing up the style. All values are terminted with a semi colon rather than a colon.
h1 {
color: green;
}
paulbacon
21,926 PointsYou have a colon rather than a semi-colon at the end.
jamie Macdiarmid
2,048 PointsThanks dude
paulbacon
21,926 Pointspaulbacon
21,926 PointsThanks Jonathan, no idea why I added it as a comment rather than an answer - I blame Monday! :)
Jonathan Grieve
Treehouse Moderator 91,253 PointsJonathan Grieve
Treehouse Moderator 91,253 PointsI've changed it to an answer for you :)
jamie Macdiarmid
2,048 Pointsjamie Macdiarmid
2,048 PointsOh. Thanks dude