CSS Treehouse Club: CSS My First Web Page Comments, Selectors, and Syntax

nazia zaman
nazia zaman
1,410 Points

Why can't I see my edits work? It doesn't change the background color or the border top no matter what I change it to

Why can't we see our changes in the preview? It stays the original way no matter what I change things to

6 Answers

You need to click refresh when the webpage preview is launched. Just keep the preview open and when you want to see your updates, just refresh the page. Make sure you save the changes first, or they won't update when you refresh!

Jacob Krebs
Jacob Krebs
8,375 Points

This worked for me. Thanks!

Okay, so one thing you need to check is whether or not your browser is caching data as you browse. It could be caching the colors, images etc.

One way to prevent that from happening is to open a "private browsing window" and keep your preview running in that window. That way it won't store anything as you refresh.

In Chrome you would choose "Incognito" and in Safari it would be "Private Browsing". This should solve your issue.

nazia zaman
nazia zaman
1,410 Points

thanks, I'm gonna try that!

jason chan
jason chan
30,994 Points

you paste it here

"```" w/o quotes

//CODE GOES IN HERE

"```"

you will see this awesomeness

treehouse is using .md aka readme for github convention. Hehe

Mikkel Rasmussen
Mikkel Rasmussen
31,768 Points

Can you please show us your code so we can see if it correct ?

nazia zaman
nazia zaman
1,410 Points

Yes, of course. However, do I paste it or upload a screen shot? I'm sorry but this is my second day on the site so I'm still figuring out how it works. Thanks for getting back!

jason chan
jason chan
30,994 Points

CTRL + S

hotkey for save. Don't forget to clear browser history sometimes. Browser caches old javascript and css.