how to take input in javascript with outusing prompt code example
Example: how to ask input in javascript
Copyvar name = window.prompt("Enter your name: ");
alert("Your name is " + name);
Copyvar name = window.prompt("Enter your name: ");
alert("Your name is " + name);