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

Workspace Preview not working

I've built up my index.html file by following along in a lesson but when I hit Preview, it loads a generic preview that doesn't show any of the changes that I've saved into my Workspace.

Every time I open my Workspace, I'm able to continue working on my previously saved index.html file, showing all of my work thus far but the Preview function isn't working.

As a test, I downloaded the project files and viewed index.html locally in Chrome and it displays correctly as expected. It seems the Preview function in Workspace is broken.

I've communicated this to Treehouse support and they requested that I post it in the forum.

I took a Snapshot of the Workspace and came up with this: https://w.trhou.se/zgtir5lwwt

I noticed that my snapshot doesn't look like the Snapshot examples that I've seen, in that it doesn't display an index.html file. (Example: https://w.trhou.se/111xofa85d) Mine is instead showing a file named .DS_Store?

Treehouse pointed out that I had accidentally placed my index.html file inside of a folder named "img". This has been fixed but the ultimate issue of the Preview not working, still remains. Updated Snapshot: https://w.trhou.se/mvxf8e5vkl

1 Answer

Can you post a snapshot of your index.html code?

I ended up just downloading the workspace files and previewing them on my local PC, Treehouse support never got a solution back to me and in the interim, I finished that course. I'm not sure how to review a workspace that I've completed already...

Thanks for trying to help though!