Please help I can't get the prompt code to work


I typed this in and it doesn't work


It does work, but it is not what is expected, I suspect. When asking for user input we need to assign it to a variable so we can examine it further.

user_input = prompt("message");


Thanks, it worked. I can move on now:)


That does not work for me.


Then it may mean the variable name to use is given in the instructions and expected by the lesson checker. Please post a link to the exercise page, along with what code you have, so far. Also, any error message. Thanks.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.