Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

JavaScript JavaScript Basics (Retired) Introducing JavaScript Your First JavaScript Program

Leandro Severino
Leandro Severino
12,674 Points

alert() command causes browser (Google Chrome) to hang?

why does alert() command causes browser (Google Chrome) to hang?

1.) Please post your code 2.) Do you use any plugins like "NoScript" to block some JS

2 Answers

Steven Parker
Steven Parker
210,871 Points

I can confirm from regular personal experience that alert() does function correctly in Chrome.

Can you post some specific code, or a link to a workspace snapshot, to illustrate where you are seeing this problem?

Hello I am currently experimenting issues with Work Spaces in fact the same code is running for me when i am using sublime text. It's either working with Safari and Chrome. But not with when I am launching it with Workspaces. Would you mind helping me out here?

https://teamtreehouse.com/workspaces/15484202

Thanks

Leandro Severino
Leandro Severino
12,674 Points

Everything works now on my end. Thanks anyway :)