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

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

azusa hyde
azusa hyde
688 Points

still says incorrect what am i doing wrong?

i think i am doing the code correctly, and the code looks right when i preview it. but it still says it is wrong when i 'check work' - saying "don't forget your style tab"

index.html
<style> 

  h1 {
    color:blue;
  }

</style>

    <h1>Nick Pettit</h1>
</body>

3 Answers

Sage Elliott
Sage Elliott
30,003 Points

Is the "body" tag still there above the "style" tag in your code challenge?

azusa hyde
azusa hyde
688 Points

no it wasn't! thanks!

Sage Elliott
Sage Elliott
30,003 Points

No problem! Small mistakes like that happen all the time while learning! The most important part is to not get too frustrated, and never be scared to ask questions!

Allison Davis
Allison Davis
12,698 Points

Is the opening body tag still there? The style tag itself is right.

texas2010
texas2010
27,435 Points

by the way, style is in only head element. just say XD.