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 trial
Unsubscribed User
514 PointsBummer! Make sure you're selecting the h1 tag in your style.
Hi, I'm working on step 2 of "Code challenge, Write a CSS selector and Property. I don't know why I'm getting this message.
code:
<body> <style> {
}
</style> <h1>Nick Pettit</h1> </body>
5 Answers
Unsubscribed User
514 PointsOk, It turns out that I solved that problem but now I have a new one. "Bummer! Make sure you're coloring the h1 tag green."
<p>
<body>
<style> {
<h1> color: green
}
</style>
<h1>Nick Pettit</h1>
</body>
<p>
Unsubscribed User
514 PointsNow I'm not sure how I should show it.
Unsubscribed User
514 PointsIgnore the little <p> bits.
Derrick Ray
19,083 PointsHey Timothy! When writing CSS, the format should be as follows:
SELECTOR { PROPERTY: VALUE; }
So for your example, to make all first-level headers green, we would format the CSS coding as:
h1 { color: green; }
Unsubscribed User
909 Pointsthe same problem i am getting.
Unsubscribed User
514 PointsUnsubscribed User
514 PointsOh I'm sorry I copied and pasted the code thinking it would show up properly.