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 Introduction to HTML and CSS (2016) Adding a New Web Page Write the CSS

ewuradjoaabaaho
ewuradjoaabaaho
221 Points

I typed in the h1{color:blue;} in my css and saved it but it's not working. What do I do?

I typed the h1{color:blue;} into the resume.css document and refreshed my page but nothing is happening. I looked over my code but I'm still not sure of what went wrong.

Matthew S
Matthew S
8,626 Points

Have you declared a different color for h1 after? Open up index.html in your browser and try right clicking the h1 element you'd like to turn blue and "inspect" it to see where the color comes from perhaps?

Did you save the file? also is it linked properly? One issue I have had many times is misspelling a word in the file.

1 Answer

Fran ADP
Fran ADP
6,304 Points

h1 { color: blue; } there has to be a space between 'color' and 'blue'