How to take " input() " in JavaScript??? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to take " input() " in JavaScript???

19th Sep 2019, 3:22 PM
CODE LINE🔋
CODE LINE🔋 - avatar
4 Answers
+ 1
Ok, I try it
19th Sep 2019, 3:51 PM
CODE LINE🔋
CODE LINE🔋 - avatar
0
you can use prompt() (js) or an input-tag (html)
19th Sep 2019, 3:46 PM
Anton Böhler
Anton Böhler - avatar
0
Here is an example of dealing with user input in JavaScript. I hope it helps. https://code.sololearn.com/WpOUq0ggf40a/?ref=app
19th Sep 2019, 5:41 PM
Anthony Johnson
Anthony Johnson - avatar
0
Ok
20th Sep 2019, 12:03 AM
CODE LINE🔋
CODE LINE🔋 - avatar