0
JavaScript input
Good good guys. Please what's the code for receiving and in input from a user in JavaScript? Thanks in advance for the answers đđ€
3 RĂ©ponses
+ 6
Use prompt() like this:
value = prompt("give input: ");
alert("you entered: "+value);
0
What about from sololearn?
0
It works everywhere
let value = prompt("Your input: "
alert("Your input is: " + value)
Happy Coding