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) Working With Numbers The Mad Libs Challenge Revisited

My code for the story maker with prompt counter not working!

https://w.trhou.se/xx39gbmdwv

i have pasted the code above. using chrome. even the template , before i started building on, does not run the prompt pop up. don't see any mistake in my code as of now. pls. help.

Erik Nuber
Erik Nuber
20,629 Points

I just looked at your code and tried it myself. It works fine. The counter counts down and has the correct info in the alert window.

1 Answer

i dont know why it does not run on mine. anyways thanks.

Erik Nuber
Erik Nuber
20,629 Points

That is really bizarre. I am using Chrome as well and forked your workspace. It had no issues and, I read thru your code as well and, I didn't see anything wrong within it either.

You could add a space in between the end of the sentence and the [questions left] bracket as they are on top of each other but otherwise yeah, I just tried again and it's fine.