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 Loops, Arrays and Objects Tracking Multiple Items with Arrays Build a Quiz Challenge, Part 1 Solution

jiwan gurung
jiwan gurung
4,248 Points

how 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
Jonathan Grieve
Treehouse Moderator 90,699 Points

The 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. :)