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

in the colour change part in CSS it stays grey. what to do?

in css colour is not changing to blue as shown in the video

4 Answers

ok got it. I guess I was not saving the changes :)

Kar Stanton
Kar Stanton
3,215 Points

Thanks this helped me too. :-)

Adam Beer
Adam Beer
11,314 Points

You rewrite the "background-color: #e2e2e2;" to "background-color: blue;"? But "background-colour" not equal to "background-color". Hope this help.

yup I already did that and refreshed the preview, but it stays grey

.tag { background-color: blue; color: black; padding: 10px; border-radius: 5px; display: table; margin: 10px auto; }

Adam Beer
Adam Beer
11,314 Points

Ok, after when you rewrite the code, save the code and after refresh the page.