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 Random Challenge Solution

Why is my prompt not even showing up?

https://w.trhou.se/w10lu7m1yx

I preview the workspace and the original prompt doesn't even pop up in the first place. It's simple code. What am I doing wrong?

1 Answer

tomd
tomd
16,701 Points

I noticed your script tag was inside a div tag try moving it to the bottom of the page, but I tried all of your code and it seems to be working even with the script tag inside the div... have you tried using a text editor rather then treehouse workspaces? or maybe your having something block pop ups?

Okay thanks. That's a relief. I was starting to get really frustrated lol. I guess I'll just use Atom from now on.