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

lorayne baker
lorayne baker
1,009 Points

how can I get it right if it wont load the style tag that I type in................and the workspace wont preview either

frustrated - my code looks exactly the same but the preview for blue wont show, the style tag it says I don't have is there, and I cant preview in workspace

index.html
<style>

  h1{color: blue;

  }</style>


    <h1>Nick Pettit</h1>

2 Answers

jag
jag
18,266 Points

The code is fine. There are some communication errors showing up for me. So you will have to try again later.

<style>
h1{
    color:blue;
}
</style>
<h1>Nick Pettit</h1>
lorayne baker
lorayne baker
1,009 Points

the tutorial does not mention the need for <body></body> nor did it discuss it, yet once I added it I fixed it, still cant get the workspace to work though

lorayne baker
lorayne baker
1,009 Points

I fixed it with body tags