javascript prompt

HTML
var answer = prompt('What is your name?','Joe Blogg');var proceed = confirm("Are you sure you want to proceed?");
if (proceed) {
  //proceed
} else {
  //don't proceed
}<a href="https://www.joinhoney.com/ref/4gtpzsq">https://www.joinhoney.com/ref/4gtpzsq</a>Copyvar name = window.prompt("Enter your name: ");
alert("Your name is " + name);
Source

Also in HTML: