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

Melanie McCammon
Melanie McCammon
4,146 Points

Clicked a button on a prompt box, now alerts and prompts don't work.

I am using Chrome and am working through the JavaScript Basics lessons using prompt() and alert().

I unthinkingly clicked a button that asked something like "do you want to prevent messages from this website in future."

Now, none of the alerts and prompts that were working before are showing up.

I have tried quitting Chrome and reloading the page--no joy. I have tried opening it from Safari--no joy.

Anyone know of a way to undo this?

Thanks!

Melanie McCammon
Melanie McCammon
4,146 Points

Never mind--it's working again. Not sure what I changed, but I no longer need help.

I've done that before myself, and it took forever to figure out! lol

Jonathan Grieve
Jonathan Grieve
Treehouse Moderator 90,705 Points

Google is your friend for all occasions such as this. :-)

1 Answer

Ron McCranie
Ron McCranie
7,836 Points

First, try it in a new 'private' browsing window. If it works then you need to clear your cache. Trying something in a private browsing session is the best way to troubleshoot caching issues.

Melanie McCammon
Melanie McCammon
4,146 Points

Clearing my cache was one of the things I tried right before it started working again. I think that did it. Thanks!