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

General Discussion

How do I run workspaces?

Ive written a script in the top bit but how do i run it on the console?

4 Answers

There should be an 'eye' in the top right hand corner of your workspace. Once you click on the eye it should open up a new tab or window that has your project in it.

Are you writing Javascript? What OS are you working on? (Ex: Mac, Windows, Chrome, etc.)

Thank but i'm trying to get th output in the console.

It would help if you posted your script on here as well. You need to open the console. In Chrome on Mac you just press Opt + Cmd + J

I just tried it with print("hi") and it says the file is not defined I entered python in the console and pressed enter and then I just entered the file name and it said the file is not defined.

The console won't run your file unless your file has been saved at least once. You also need to save it before the console will run your changes.