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 trialJay Bell
354 PointsStep 3 of 3 errors
The first two steps are fine, but when going from blue to green it gives an error that it was incorrect.
<body>
<style>
<h1> {
color: green;
}
</style>
<h1>Nick Pettit</h1>
</body>
2 Answers
Justin Iezzi
18,199 PointsHey Jay,
You almost got it. You don't use the angle brackets when writing a CSS selector. It's simply h1
See here -
h1 {
color: green;
}
Jay Bell
354 PointsAh jeez...thanks you two ;)
Clint Dehner
8,808 PointsClint Dehner
8,808 Pointswhen your writing in style tags an your looking to select an element you can just do this.
you were basicly creating a h1 tag in your style hope that helps :)