Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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.