JS Obtenha entrada do usuário
var name = prompt("Please enter your name", "Harry Potter");
Weary Warbler
var name = prompt("Please enter your name", "Harry Potter");
Copyvar name = window.prompt("Enter your name: ");
alert("Your name is " + name);
var name = prompt("Please enter your name", "Harry Potter");