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 trialJulie Hulvey
179 PointsIt says don't forget my style tag. It is correct on my workspace and works there. What is wrong?
Task 1 of three. I thought I was past this and it won't let me go on.
<style>
h1 {
color: blue;
}
</style>
<body>
<h1>Nick Pettit</h1>
</body>
2 Answers
Wil Goolsby
8,593 Points<body>
<h1>Nick Pettit</h1>
</body>
The instructions state to place a style
element directly above the h1
element. Your style
element is directly above the body element. I've noticed treehouse is very specific in where it requires things to be placed.
You'll find if you move the style
element inside the body
element and above the h1
element you'll be fine.
Katherine Duncan-Welke
iOS Development with Swift Techdegree Graduate 33,030 PointsYou don't have the DOCTYPE, html, or head tags in there - try adding those and see if it works.