+ 2
How do I prompt user to supply 10 or more input of intgers or floating point numbets at once using JS?
I have been using the " promt() " statement in code successfully but i had to use it as many times as possible to get my desired number of input. Now i want a situation where i can get more input in for one use of the "promt()".
3 ответов
+ 5
js code:
var p = prompt("put a number");
if (p >= 10){
true
}
else{ alert("error") }
+ 4
Omotesho Olusegun 👍you're welcome
+ 1
thanks Armann.