Answers for "window.prompt() method to ask the user for a label for the heading."

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

Code answers related to "window.prompt() method to ask the user for a label for the heading."

Code answers related to "Javascript"

Browse Popular Code Answers by Language