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 Build a Simple Website Styling Content Fonts and Colors

Webpage won't load correctly

Hello everyone,

For some reason, now my webpage won't show the changes whenever I refresh it after modifying some code. It worked before, it doesn't work anymore now. Now every time I want to see what the code is doing on my website, I have to open the index.html each time. Before, I just click refresh and it worked out.

Can anyone help?

6 Answers

Brian Molkovich
Brian Molkovich
11,333 Points

and use ctrl+r to clear cashe.

Thanks. It works with Ctrl + R, I am using Mac.

Logan R
Logan R
22,989 Points

The problem might lie with your cache. Try Ctrl + F5 when you want to refresh and see if it works.

Hope this helps!

Hi Christian - Are you using the localhost as your server? You may want to try clearing your browser history and cache. That usually does the trick for me.

Hi Jennifer,

Sorry I don't understand what it means by using the localhost. I just open the file right from my folder.

Logan R
Logan R
22,989 Points

You are not using localhost then @Christianfnu :)

Got it, thanks L R!

Anthony Hind
Anthony Hind
5,715 Points

I had a very similar issue a while ago with mamp locally the cache refresh was set to something like 60 seconds so any updates I made would not show up it was very frustrating at the time.

Could you confirm your setup maybe we can help you further for example are you working locally, what browsers are you using and so on !!!

I am using Safari. I use sublime text, also I just open the file directly from my folder

Brian Molkovich
Brian Molkovich
11,333 Points

Hi,you work with domain or local from your computer?

I am working with local from my computer. Basically I saved my index.html in a folder on my desktop.