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 trialTim Chesonis
511 PointsWhat is wrong with this code? <style> {h1 color: green; } </style> <h1>Tim Chesonis</h1>
I followed this to the letter, when entering "blue" as instructed, it worked. When changing the color to "green", it says, "Bummer! Make sure . . . . "
Please advise.
<style>
{h1
color: green;
}
</style>
<h1>My Name</h1>
3 Answers
Steven Parker
231,269 PointsIt looks like you accidentally placed your selector inside the braces instead of in front of them.
There's a bug in the challenge checker. That should NOT have passed the second task. You might want to report this to Treehouse Support, it might get you a special "Exterminator" badge.
Brandon McClelland
4,645 Pointsh1 {
color: green;
}
Agree with Steven, you definitely should report it.
Tim Chesonis
511 PointsThank you all. Wow, that was a fast response, and as you have suggested, I did report this issue to Treehouse Support.