+ 3
Input In JavaScript?
Is there any way we can take input from user during runtime in javascript.
2 Answers
0
Yes why not use the condition when conditions become true call a prompt
0
You can use the function prompt ()
Or add input html element.
After that, you can get the value of your input and do with it whatever you want