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 (Retired) Making Decisions with Conditional Statements Introducing Conditional Statements

For the past couple hours, I can't seem to get a dialog box to pop up when testing my code from Workspaces?

I've tried in Firefox and Chrome. Any ideas?

Dave McFarland
Dave McFarland
Treehouse Teacher

Hi Christopher Bowman

Can you show us the code you are using? Also, have you checked the JavaScript console for any errors?

5 Answers

I did a simple alert in workspace and it seemed to work. If you are sure your codes has no bugs and everything is well, you might want to try to save it first (Workspace: File => Save) and than previewing it (eye icon right corner).

Another way to test your code is using console in your web browser pasting your code in there Chrome: View => Developers => JavaScript Console write or paste code in.

For Firefox: Tools => Web Developer => Web Console.

This is for mac, I am not sure if PC are different. If you are still having problem, try posting your codes and work from there on. Best of luck.

It's all fixed guys. Sorry, haven't logged on in a few days. Not sure what the change was?

actually.. it was a syntax error on my end

Michael Webber
Michael Webber
4,919 Points

I had to update my Google Chrome browser for my workspace to come up.