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 trialPaul Duggan
199 Pointsdoes not work cannot go pass to the next
cannot move to the next level.
preview shows color change
<style>
h1 {
color: blue;
}
</style>
<h1>Nick Pettit</h1>
4 Answers
Jinson Abraham
1,700 PointsTry proper css embed tags - Example
Andreas Anastasiades
2,916 PointsUse the separate file to place your css and it will work
MUZ141116 Tafadzwa Paza
12,893 Pointshi Paul everything looks okay i tried the challenge just now and its asking for the color green, so just check again or try my code.
<body>
<style>
h1 {color: green;}
</style>
<h1>Nick Pettit</h1>
</body>
Caleb Kleveter
Treehouse Moderator 37,862 PointsPaul's code is valid, the code challenge wants the h1 to be set to green, not blue.
Ryan Botha
1,874 PointsRyan Botha
1,874 PointsI think the question wants the code in the css file not in the html file.