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 trial

HTML How to Make a Website Beginning HTML and CSS Write a CSS Selector and Property

matthewroller
matthewroller
2,159 Points

Style 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

Hi 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.

5 Answers

put the style inside the body before the text

it is fine, just in the wrong place. it needs to be inside the body tag; you have it above it :)

tell me if that made sence

matthewroller
matthewroller
2,159 Points

Ok I didn't catch that part, thank you very much Colby!! :)

Cassio Victor Cadore
Cassio Victor Cadore
6,579 Points

the style tag needs to be inside the <head></head> !

<head>
<style></style>
</head>
<body>
</body>

Hi 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.