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

CSS How to Make a Website Styling Web Pages and Navigation Style the Portfolio

Thomas Smith
Thomas Smith
400 Points

Workspace Preview not working correctly

I tried my code in CodePen and it looks exactly like it's supposed to however the preview from workspaces doesn't change. What would the reason for that be?

6 Answers

Nathan Brazil
PLUS
Nathan Brazil
Courses Plus Student 2,756 Points

I had the same problem with my workspace preview not updating. I was using Safari Version 7.0.6 (9537.78.2). All I did was cleared my history. I cleared my entire history but I am guessing you only need to clear one or more of the following: cookies, cache, and temp files. After I cleared the items I previously mentioned, I clicked the workspace preview button again to open a fresh preview screen and presto change-o! It works. Date: (9:6:14 2:32pm)

Greta Honeycutt
Greta Honeycutt
1,903 Points

Did you ever figure out the problem? This started to happen to me this morning. I can save the files to my computer, open them in a web browser and see my changes, but none of my changes in the past hour or so will show up in Workspace Preview.

Thomas Smith
Thomas Smith
400 Points

Nope. Treehouse got back to me and said it must be an error in my code but I hadn't changed the link between my html file and my css file so I'm still not sure.

Andrew Hastings
Andrew Hastings
152 Points

I have the same problem. Any new updates on this?

David Kristoffersson
David Kristoffersson
3,231 Points

This exact thing is happening to me right now. I changed the code in the workspace for the Javascript Basics segment "The Javascript console", fixing one of the bugs, saved, and when I do preview it still pops up the old version with both bugs.

David Kristoffersson
David Kristoffersson
3,231 Points

I got past it only after I specifically cleared the browsing data of "Cached image and files" in chrome.

+1 This fixed mine too. Go into Chrome's settings, History>Clear Browsing data, and then select "Cached images and files". I also chose to clear browsing history but that probably isn't necessary.

What a pain in the butt, though. Took me a while to realize it was a cached copy and that my JS was fine.

I experience the same thing I tried to use preview still it is not loading.