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 trialdorothym
920 PointsPreview button not working in Workspace for this project? (index.html)
Within the Workspace, is it possible to use the Preview button (the "eye" icon) for this project (for example, for index.html)?
When I click it, first I'm presented with a drop-down list of possible ports to use. Regardless of which port I choose, I get the following error:
Workspace Unavailable This is a preview link for a Treehouse Workspace that is not currently active. If you are the workspace owner, you can launch it again via the Treehouse site.
(the example URL in this case is http://port-8080-z9pppud99s.treehouse-app.com/)
Thanks in advance for any guidance!
1 Answer
Erez Lieberman
11,004 Pointsin the next lesson (here: https://teamtreehouse.com/library/build-a-simple-dynamic-site-with-nodejs/creating-a-simple-server-in-nodejs/creating-a-simple-server) , you create the server by port and then you can use the Preview in Workspace.
Patrick Koch
40,498 PointsPatrick Koch
40,498 Pointsis not a really need for this course to preview it, but if really wanna see it you can also download the projects files and open the design html files with your preferred browser.
g patrick