Welcome to the Treehouse Community
Looking to learn something new?
How do I run a workspace to yield my output?
Hi there, Treehouse.
I've returned to Treehouse after a while to aid my study in a training program, so I lost my familiarity with these workspaces. I am going through some intermediate courses on web connectivity like AJAX and I can't find anywhere where to actually run a workspace file. I'm at a standstill with Treehouse and am running through all these tutorial videos just to find a simple shortcut which should be more obvious. Please let me know how I could execute a file. Thanks!
Steven Parker216,136 Points
You forgot to provide a link to the course page you are working on, but if you are building code for the browser, you would "run" it by opening a preview using the "eye" icon button in the upper right of the workspace.
And if you are building code for node.js, you would run it by giving a console command. For example, if your program was named "test.js", you would use: