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 How to Make a Website HTML First Create the Content Containers

Andrew Diaz
Andrew Diaz
167 Points

For some reason when I go to preview the page I'm still getting a preview of the previous lesson where your name is blue

I'm still getting the previous page preview where my name is blue and can't seem to preview the work that I have done on the current lesson.

Hi Andrew,

Can you post your code please and we'll take a look? This how-to guide will explain how to do that.

Thanks

-Rich

Hi,

You can also post it here witch is nice because the code is already there and its easier to debug or change anything .

-Aurelian

3 Answers

I've noticed that some browsers tend to use cached versions of the site which means that after it has downloaded all of the necessary code, it doesn't download any new code that has been updated. If you've updated the code correctly, then the answer should be as simple as clearing the cache by deleting the recent web history. This will force the browser to re-download the code and re-render all elements.

Hope that helps! :)

Try saving your work, then try previewing it

Scott Haven
Scott Haven
5,015 Points

Saving index.html sometimes isn't enough to allow preview to work (i.e., recent changes aren't appearing on the rendered page). Likely a bug. To work around it, I simply closed index.html and reopened it, then selected preview.