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

Issue with Workspace with JS course

I am trying to use Workspace while taking the basic Java Script courses, and when I try to preview, it never shows the code I have entered. The only way I have found to make it work is to go to developer console and re-run it in as different IE version, because it's defaulting to running with Edge. I'd rather use Chrome, but I haven't found any kind of fix there. And the IE fix not a great fix, because it means a lot of extra steps each time. Is there some setting I can adjust in the browser or elsewhere to make this easier?

Hi Laurel,

Can you please create a snapshot of the Workspace and share the URL here? Here's how to do that: https://www.evernote.com/l/AKJu6uWaAX1LN4zK5m0DFigA4HEpfyWv1mY

Thanks for being a Treehouse Student!

Cheers, Ryan

Here's the link to one that has been causing problems. It's intermittent, but if it doesn't work in IE, the only way to get it to work is to change the emulator in the developer console.

http://w.trhou.se/wmn8op9mfa

It seems to be working now, even in Chrome. It's still glitchy. Lots of page crashes and busy server messages, but at least this seems to have stopped for now. Thank you for looking at it for me.

2 Answers

Ariel Aronica
Ariel Aronica
6,646 Points

With JavaScript, unless you write the command to print to the document you won't see the code run like you would with html and CSS, which is entirely visual and you can see those changes(unless we are talking about alerts, messages and more advanced commands in JavaScript). The console IS your best friend when working with JavaScript and is where you will be checking most of your work. There are ways to make sure your code is correct by using document.write or console.log. I'm not sure if this was the answer you were looking for, sorry if it's not!

I just forked your Workspace and it worked fine :( I'm using Chrome. Are you still having problems?