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 trialwhimsical1mess
2,831 PointsWorkspace not running code?, resorting to testing in console instead
No matter what means I try to use workspaces, it doesn't work. I can launch the workspace, view all of its content and even modify and save stuff.... when I go to "refresh the browser"(hit the eye shaped button to preview it) it does not run the code. Only prints a blank page. What am I doing wrong? I've been having to test my stuff in the console which only works so far.
2 Answers
Steven Parker
231,261 PointsThe "eye" button in the workspace launches the preview window, you'll only need to do that once per session.
But each time you make any changes, you'll need to save your work (with the menu or Control-S shortcut) and then refresh your browser. The way this is done may vary with the browser, but many use the "F5" key as a shortcut. Doing both these steps will make your changes visible in the preview window.
whimsical1mess
2,831 PointsIt isn't making it visible (the alert box doesnt pop up and the console doesnt console.log)
Steven Parker
231,261 PointsTake a look at this video about Posting a Question, and perhaps also this one about sharing a snapshot of your workspace.