prompt js boby with html 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');