0
User input in JavaScript
Is there a way to get console input in JavaScript like pythonâs input() or C++ cin<<âthis is inputâ<<endl; ?
3 Answers
0
Are you talking about Node.js?
0
Not sure about console but you can take input in HTML form and take it to JavaScript using:
document.getElementById()
- 1
Prompt("");