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

Problem with Workspaces preview

When working in workspaces I connot get the program to change the preview image when I change the code in the work space. Is ther something I'm doing wrong? Or there is a problem with Workspaces?

Regina Dailey:

Before clicking the Preview icon in workspaces, you must save your changes. Then click on the Preview icon. Also click on the Refresh (circling arrow) icon to see if that clears up your problem.

1 Answer

I agree with Kathryn's advice. You should do the steps. You can save changes by clicking on the FILE dropdown menu on workspaces, (or I usually hit "CTRL + S" on my PC keyboard.)

Also check that you have your code relating back to the index.html page!

You need to have a <script src="js/script.js"></script> typed right above the </body>