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 trialmatthewroller
2,159 PointsStyle Tags
Hello guys, i'm trying to complete challenge task 1 of 3 in Beginning HTML and CSS. It's saying that i'm missing my style tags before the heading. Can you please look into this? I have a screen cap.. http://sortoflikethis.coffeecup.com/style.JPG
5 Answers
Berke Lunstad
11,976 Pointsput the style inside the body before the text
Colby Work
20,422 Pointsit is fine, just in the wrong place. it needs to be inside the body tag; you have it above it :)
Berke Lunstad
11,976 Pointstell me if that made sence
matthewroller
2,159 PointsOk I didn't catch that part, thank you very much Colby!! :)
Cassio Victor Cadore
6,579 Pointsthe style tag needs to be inside the <head></head> !
<head>
<style></style>
</head>
<body>
</body>
Jason Anello
Courses Plus Student 94,610 PointsHi Cassio,
Although this is valid code and would be how you would want to do it on a real project it won't work for this challenge.
This challenge has specific requirements on where the <style>
tags should be placed.
Jason Anello
Courses Plus Student 94,610 PointsJason Anello
Courses Plus Student 94,610 PointsHi Matthew,
For future reference here are some tips on how to post code in the forums: https://teamtreehouse.com/forum/posting-code-to-the-forum
This will be much easier for you than posting screenshots of your code.