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

JavaScript JavaScript Basics Hello, JavaScript! Add JavaScript to HTML

I can't run the Javascript programe! Every time I open my a file from my workspace, it opens separately.

A new window pops up by its self

2 Answers

Robert Manolis
STAFF
Robert Manolis
Treehouse Guest Teacher

Hi Pierre Andre Larochelle, if you click the little eye icon in the upper right of the workspace window, it should open a preview in your browser. :thumbsup:

And if you are also using chrome, you can simply right click and set the preview to show up as a tab. Then simply grab that tab and add it to the browser space with the video.