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 Treehouse Club: HTML Publish a Story Comments and Doctype

Elliott Merck
PLUS
Elliott Merck
Courses Plus Student 773 Points

Despite making changes to the code via the story, the original story always pops up when i hit the eye button

How do i fix this

Jake Lundberg
Jake Lundberg
13,965 Points

This might be a silly question, but are you saving your changes? If so, are you saving those changes in the correct file?

6 Answers

I'm using safari and the same thing is happening to me. I am saving and nothing is updating when I use the Eye for preview.

Edit: Well I've discovered if you refresh the preview page that is generated, it will then update and display your changes.

I'm using Chrome with the same problem, but your fix worked for me. If I refresh the preview page, it will display any changes.

Yes, on Google Chrome you pressing the refresh button takes care of the problem. Why? I don't know.

Bradley Gibson
PLUS
Bradley Gibson
Courses Plus Student 1,650 Points

If refreshing doesn't work then try clicking 'file' then click 'download work space'. Once you have done this it will show your html file in a window. Double click on your html file and select a browser to open this file. I chose IE and it seemed to work for me! Happy coding :)

Nicholas Gwin
Nicholas Gwin
1,044 Points

This one worked the best for my google chrome! Much obliged and happy coding!

As Jake says, make sure that your files are saved after you have made changes. Then after that if your changes are still not appearing then it may be an issue to do with your web browser caching the older version of the page.

So it might be worth closing down the workspace or even your entire browser and then reopen them.

Elliott Merck
Elliott Merck
Courses Plus Student 773 Points

so I closed down everything and restarted the course track today. My changes are saved in the workspace from the previous day but I still run into the same problem with the previous story showing up when i hit the eye button.

Is there something in the Google Chrome setting i need to change?

Marselle Bredemeyer
Marselle Bredemeyer
1,619 Points

I'm having the same issue, too, and using Google Chrome!

Richard Moore
Richard Moore
1,569 Points

Same issue on firefox, refreshing the page resolved the issue.

Chris Clark
Chris Clark
1,450 Points

Elliott, I had same issue while using Google Chrome. I tested the Workspace using Safari, and I now see my changes in the workspace reflected in the Preview. I suspect there is a Chrome issue.