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 trialNicole Hillerich
1,880 PointsCan't progress to the next task: change H1 color to green. Text looks green in the preview screen but says I am wrong.
<body> <style> h1 { color: green; } </style> <h1>Nick Pettit</h1> </body>
<body>
<style>
h1 {
color: green;
}
</style>
<h1>Nick Pettit</h1>
</body>
3 Answers
Samuel Webb
25,370 PointsYour code looks good. Maybe refresh the page and do it again. I went through and just copy/pasted your code into mine and it went through all three perfectly.
Tyler Jennings
9,271 PointsSometimes adding the semi-colon to the end of a rule will cause it to not pass if it's the only rule. Try submitting it without the semi-colon.
Nicole Hillerich
1,880 PointsThat was the only rule for this exercise. It was the browser cache, for some reason it accepted the code as-is, after I cleared the browser cache and started over from the beginning. Odd! Thanks for the advice.
Samuel Webb
25,370 PointsNo problem.