Help with prompt


#1

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


#2

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


#3

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.


#4

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