Answers for "how to get a user input in js"

7

js get input from user

var name = prompt("Please enter your name", "Harry Potter");
Posted by: Guest on December-01-2020
4

how to get a user input in js

Copyvar name = window.prompt("Enter your name: ");
alert("Your name is " + name);
Posted by: Guest on April-29-2020
0

how to input from user in javascript

var name = prompt("Please enter your name", "Harry Potter");
Posted by: Guest on August-11-2021

Code answers related to "how to get a user input in js"

Code answers related to "Javascript"

Browse Popular Code Answers by Language