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

charlotte green
charlotte green
1,773 Points

cant get past this step!! So I'm sure i'm writing this right! <style> h1 { colour:green; } <style/>

everytime I do this quiz i get to the step where it tells me to to change the colour to green so I put in the code about and it keeps telling me that I'm wrong? what am I doing wrong? help!

index.html
<style> h1 { 
    colour:green;
}
</style>
<h1>Nick Pettit</h1>

2 Answers

Billy Bellchambers
Billy Bellchambers
21,689 Points

Be careful with the spelling of color in html and css its important.

<style>
  h1 {
  color: green;
  }
</style>
<h1>Nick Pettit</h1>
charlotte green
charlotte green
1,773 Points

ahhh, oh my gosh. I'm so used to obviously spelling it this way It just didn't even click! Thanks! :-)

Billy Bellchambers
Billy Bellchambers
21,689 Points

No worries it seems mega backwards to me to begin with too.

Happy coding