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 trialYusfu Daramay
166 PointsNeed help with h1 tag
It says to make sure I'm in the h1 tag but I don't really know what that means. I indented every line but don't know what I am doing wrong.
<style></style>
h1
{
color:blue;
}
<h1>Nick Pettit</h1>
2 Answers
Matthew Tran
16,343 PointsYou need to close out your style tag by moving the first </style> at the end of line 1, to below line 5, but before the actual h1 header.
Jonathan Hamada
4,810 PointsHi Yusfu, the code should look like this:
<style>
h1 {
color: blue;
}
</style>
<h1>Yusfu Daramay</h1>
Yusfu Daramay
166 PointsThank you so much! wow I can't believe the willingness of help on this website. So greatful and thank you
Claudio Vendrame
4,964 PointsClaudio Vendrame
4,964 PointsPut the css code between the Style tags. <style> h1 { color:blue; } </style>