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 trialPrerna Das
475 PointsAdding the style tag
Can't figure out, where I am wrong? <style> h1 { color: blue; } </style> <h1>Prerna Das</h1>
3 Answers
Adam Stewart
3,986 PointsThat will set the font color to blue, if you want to change the background use:
h1 { background: blue; }
Prerna Das
475 PointsThank you!!! For some reason, writing this code as answer to the challenge question keeps on giving me the message "Add style tag", hence was confused as to where I am wrong:(
Santiago Posada
5,189 PointsTry this: < body>
< style> </ style>
<h1>Nick Pettit</h1>
</body>
I add some spaces to the words so it will show the complete answer Hope this helps