JS Получите ввод от пользователя
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 username = prompt("What is your name?");
var name = prompt("Please enter your name", "Harry Potter");
var x = document.getElementById("myText").value;