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 trialjiwan gurung
4,248 Pointshow to promt the question?
i can't understand which code is asking the question?is it the print function message? i copied the code into my text editor but i cant even get the prompt dialogue. all my file path are correct.i can't seem to get it even ask the questions.im really stuck. please help
Jonathan Grieve
Treehouse Moderator 91,253 PointsJonathan Grieve
Treehouse Moderator 91,253 PointsThe first thing I would think to try is to put the following code at the top of your javascript file.
alert("test");
If successful, this will put an alert dialog box to the screen ensuring that JavaScript is actually working and successfully set up.
Failing that, we'll need to see more of your code. Could you post the code to the forum with markdown for us?
If you've never used markdown before here's a cheatsheet https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet You'll also find one by Treehouse on this page. :)