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 trialAlder Guajardo
Courses Plus Student 212 Pointschallenge 3 of 3
how do I set the h1 element to green?
1 Answer
jeremywhiteford3
13,297 PointsYou can do it inline, embedded or externally.
inline
<h1 style="color: green">heading 1</h1>
embedded
put this in the head
<style>
h1 { color: green; }
</style>
external
you'll typically want to do this method - this will go in the head as well
<link rel="stylesheet" href="your-styles.css">
Alder Guajardo
Courses Plus Student 212 PointsAlder Guajardo
Courses Plus Student 212 Pointsyea I finally figured it out, didn't know I had to remove the CSS in order to do it lol