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 trialRachel Williams
68 PointsSetting the h1 theme color to green
I am having some trouble with setting the h1 color to green. Does it need to be within the h1 brackets?
<body>
<h1>Nick Pettit</h1>
</body>
<style>
<h1>Rachel Williams</h1>
{<h1>}
3 Answers
Rich Bagley
25,869 PointsHi Rachel,
Without giving you the exact answer this video will explain exactly how to do it.
The only difference is the colour and that you need to include everything in the video inside body
tags for the challenge.
If you're still struggling just shout but hopefully that helps to point you in the right direction :)
-Rich
Brian Romine
9,518 PointsYour styling needs to use CSS syntax within the style brackets. Like so: <style> h1 { color: green; } </style>
You'll use HTML markup syntax in the bulk of your document, but you need to use a different syntax inside the <style> part as you are actually using CSS there.
Hope that helps!
Bradley Davis
5,918 Points<style>h1{color: green;}</style>