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

this is wrong-keeps telling "don't forget style tag -yet I type it exactly as instructer does -tried 6 times -the style

tags are there

index.html
<style>

  h1 {
    color: blue;
  }

</style>
<h1>brett risen</h1>

3 Answers

Sam Baines
Sam Baines
4,315 Points

Hi Brett - as with your other question - you need to read the wording of the code challenge very carefully - it does not always follow what you have typed in the lessons, so in this case the color needs to be green not blue.

<body>
<style>

h1 {
color: green;
}

</style>
<h1>Brett Risen</h1>
</body>

thanks - i got started late tonight.will start again when less tired.so i gather that it was right - just the color was wrong- blue not green? it would have been better for it to have said "style element is wrong" -"forgotten".

i tried green -and red yellow -when i preview work -it successfully changes to any color i type.nothing in the tutorial says color must be green - or any color. this answer is not correct.

Sam Baines
Sam Baines
4,315 Points

Brett - seriously you need to go back to the code challenge and write out the exact code I posted above for part 3 of the challenge (no pasting) - and look at this image - http://snag.gy/KSvSx.jpg - it clearly says in the code challenge for it to be green. This answer is correct.