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 trialDaniel Lightner
Courses Plus Student 145 Pointssetting color of h1 element to green
It looks like my code is matching what the video tutorial shows for adding color to an h1 element, but it's not working and I'm not quite sure where the mistake is? Are there any common mistakes that beginners make in this code challenge?
1 Answer
John Lawrence Salvador
418 Points<h1> I am h1 tag </h1>
css:
h1 {
color: green;
}
You can also add an id on the tags.
<h1 id="head1"> I am h1 tag </h1>
css:
#head1 {
color: green;
}
Hope this helps. :)
Stone Preston
42,016 PointsStone Preston
42,016 Pointsplease post the code you are using. you will have to format it with markdown to get it to appear in the forum correctly. See the tips for asking questions video on the right side of the page for information on formatting