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

Digital Literacy

Changes are not showing in my practice index code in the preview.

I opened the index.html file with the practice code "Peg Leg" in their and changed the body text and some formatting options, then pressed the preview button. The webpage remained unchanged and still showed all the preloaded "Peg Leg" material. So I went back and went to File>Save so that it was saved and didn't lose the new material, but the changes still do not show up in the preview.

...or is it File<Save. ;)

1 Answer

Jason Anders
MOD
Jason Anders
Treehouse Moderator 145,860 Points

Try refreshing the browser window for the preview. Sometimes clicking the preview eye just takes you to the previously opened window and, thus, wouldn't show the changes made. (and yes, you do need to save before previewing).

When I'm working with something that I am previewing often, I always close the browser window/tab that has the preview, so when I click preview, I know I'm getting a current screen.

:)