bagaimana cara menanyakan input dalam javascript
let name=prompt("What is your name?");
console.log("Hi "+name)
Code_Breaker
let name=prompt("What is your name?");
console.log("Hi "+name)
var name = prompt("Please enter your name", "Harry Potter");
var name = window.prompt("What is your name");
document.write("Hello " + name);
Copyvar name = window.prompt("Enter your name: ");
alert("Your name is " + name);
var username = prompt("What is your name?");
Mukhtar