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!

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 Customizing Colors and Fonts Use Color in CSS

Chloe Ami
Chloe Ami
2,830 Points

I can't get my h1 + h2 to change clour?

I can't seem to get them to change colour at all? Please help :) code:

a { text-decoration: none; }

wrapper {

max-width: 940px; margin: 0 auto; padding: 0 5%; }

logo {

text-align: center; margin: 0; } a { colour: #ff0066 } header { background: #ff0066; border-colour: #ee0044; }

h1, h2 { colour: #fff; }

Luben Krastev
Luben Krastev
8,125 Points

Hello, Chloe Ami I think the issue is because the code is { colour: #fff; } try with { color: #fff; }.

BR, Luben

2 Answers

This is just a typo (spelling error); You wrote colour instead of color.

Chloe Ami
Chloe Ami
2,830 Points

Thank you! I thought the English (uk) spelling would still work. Thank you for the quick reply!