how to prompt user in javascript code example
Example: how to get a user input in js
Copyvar name = window.prompt("Enter your name: ");
alert("Your name is " + name);
Copyvar name = window.prompt("Enter your name: ");
alert("Your name is " + name);