if prompt input /2 then js html 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);