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

Dipti Katkar
Dipti Katkar
821 Points

Background color not changed to red from blue

Hello!

In the first video, @3:48 in video transcript, the background color changes to blue.

When I type red instead of blue and refresh the page and preview workspace, it doesn't work. Can anybody explain what needs to be changed?

Dipti Katkar
Dipti Katkar
821 Points

I did try to save style.css and refresh my browser window, it still did not change. Any other ways to resolve it?

2 Answers

Steven Parker
Steven Parker
231,269 Points

When you say you "did try to save style.css", are you sure it worked? If changes have not yet been saved, there will be a small orange dot in the tab next to the file name. You can see this in the video, and it vanishes when the instructor saves the file (I expect by typing Ctrl-S). Then after a successful save a browser refresh should show the change.

If that's not it, you could make a snapshot of your workspace and post the link to it here for a more detailed analysis.

Dipti Katkar
Dipti Katkar
821 Points

Thanks for your prompt reply Steven.

Here's a snapshot of my workspace- https://w.trhou.se/msd4jx1kon

Steven Parker
Steven Parker
231,269 Points

So your save was successful, but when you changed the color you also accidentally removed the semicolon at the end of the line. Just put the semicolon back and you should see the color change.

Dipti Katkar
Dipti Katkar
821 Points

Oh! I didn't notice that at all.

Thanks so much!