js promt code example
Example 1: js get input from user
var name = prompt("Please enter your name", "Harry Potter");
Example 2: js prompt
var answer = prompt('What is your name?','Joe Blogg');
var name = prompt("Please enter your name", "Harry Potter");
var answer = prompt('What is your name?','Joe Blogg');