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 Add Style to the Page

Lulu Imanda Priyandhitya
Lulu Imanda Priyandhitya
487 Points

the text wont change even the color, i already checked over and over. could you help regards lulu

the text wont change even the color, i already checked over and over. could you help

<style>

h1 { color: blue; }

</style> <h1>Lulu Imanda P</h1>

this is my code

regards lulu

Alice Rogers
Alice Rogers
237 Points

the spacing matters. It should look like this:

<style> h1 { color: blue; } </style>

and then your headline

3 Answers

Your style declaration is written correctly. My only guess is that there is another problem that is causing your css not to render correctly.

Are you sure you have your stylesheet linked correctly in your html?

Jeff Pierce
Jeff Pierce
18,077 Points

Hi Lulu,

Chyno is on the right track. Your style declaration looks correct, and the link reference is the first suspect. Another suspect cause is a mismatched selector; e.g. no h1 in the HTML.

Good luck,

Jeff

Lulu Imanda Priyandhitya
Lulu Imanda Priyandhitya
487 Points

It work, i try to open new worksheet. I think it still link into worksheet from chapter i learned. so thank you.