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) Getting Familiar with HTML and CSS Welcome to HTML and CSS

When i change the hexidecimal code to Blue and when i refresh the browser it doesn`t work?

Does anyone know why this might not be working?

5 Answers

I had the same issue.

The teacher had used background color: #XXXXXX;

However you use blue you just need to do color: blue;

I.e. don't include a hashtag when just using a color.

Hope this helps!

command + s on mac saves the worksheet, too. then refresh the webpage and your changes should show up.

Austin Hinz
Austin Hinz
3,194 Points

If you have attempted to fix your code and still no luck, here is the line of code that is correct. (Be sure to save code before refreshing)

background-color: blue;

Feel free to mess around with it and make it more than just a blue color!

Alejandro Molina
Alejandro Molina
1,596 Points

Are you saving the css sheet before refreshing? Do you have an issue with your code? There's multiple different reasons why its not working but we are not able to tell unless we get some clarification or a snippet of your code to try and find the issue