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 trialLoreta Pittman
Courses Plus Student 94 PointsI am trying to pass a nodule that wants me to change the h1 heading color to green.
<style> h1 { color: green; }
</style> <h>Loreta Pittman</h>
<h1>Nick Pettit</h1>
2 Answers
stjarnan
Front End Web Development Techdegree Graduate 56,488 PointsHi Loreta!
When doing your styling inside of the html document you need to use a style></style tag (just add the brackets). You can then add the styling inside of the tags. Add the styling tags above the h1 tag and you will be good to go, good luck and have fun learning!
Roy Penrod
19,810 PointsJonas is spot on with his answer. This is what it would look like:
<style>
/* This is where you would put the CSS to change the color */
</style>
<h1>Nick Pettit</h1>