Help with prompt


hey i need help with the prompt.question is where are you from ?
prompt("where are you from?")


Can you please explain a little bit more what are you having a problem with ?


The main purpose of prompt() is to obtain user input. This is an operation that in most cases will cache its return value in a variable.

var user_locale = prompt("Where are you from?");

console.log(user_locale);    // user input displays

If you are still having trouble with this question, please post a link to the exercise. Thanks.


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