Answers for "how to ask input in javascript"

4

how to ask input in javascript

let name=prompt("What is your name?");
console.log("Hi "+name)
Posted by: Guest on August-09-2020
4

how to ask input in javascript

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

Code answers related to "Javascript"

Browse Popular Code Answers by Language