javascript confirm with input code example
Example 1: js prompt
var answer = prompt('What is your name?','Joe Blogg');
Example 2: prompt js
var answer = prompt("How are you? ");
var answer = prompt('What is your name?','Joe Blogg');
var answer = prompt("How are you? ");