how to take user input in javascript con 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);