JS Получите ввод от пользователя
var name = prompt("Please enter your name", "Harry Potter");
Weary Warbler
var name = prompt("Please enter your name", "Harry Potter");
var name = window.prompt("What is your name");
document.write("Hello " + name);
Copyvar name = window.prompt("Enter your name: ");
alert("Your name is " + name);