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 trialAdinah Caro-Greene
192 PointsI am stuck on this exercise, I keep typing {<h>color:green;<text></h>what is the problem
ARG
2 Answers
geoffrey
28,736 PointsTry to be clear, avoid typing 'all' the code in the title. Use the markdown sheet, that's better and easier to read the code you post, even more when you'll have bigger issue to solve. :)
The mistake probably comes from the way you typed the selector, as It's a CSS selector, you don't need to type it as a tag, I mean if you want to select '<h1>' elements, just type 'h1' as selector.
Here is the code
<body>
<style>
h1{
color:green;
}
</style>
<h1>Nick Pettit</h1>
</body>
Hope it helps.
Patrick Donahue
9,523 PointsShouldn't <h> be <h1>
?
Adinah Caro-Greene
192 Pointsyeah, it was... I just didn't type it that way in this post. Good catch
Adinah Caro-Greene
192 PointsAdinah Caro-Greene
192 PointsAhh, I didn't type the curly bracket after the ; THAT was my problem. Thanks!