Hello i was wondering how do i make my own JavaScript input *simple*? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Hello i was wondering how do i make my own JavaScript input *simple*?

1st Jan 2020, 11:35 AM
erkan300pro
erkan300pro - avatar
2 Answers
+ 2
You can use the `prompt` function. Like this: https://code.sololearn.com/WePkO91X74pv/?ref=app
1st Jan 2020, 12:15 PM
Schindlabua
Schindlabua - avatar
+ 1
Use input tag of html and then use document.getElementById put your input id in it.
1st Jan 2020, 12:44 PM
🇮🇳Vivek🇮🇳
🇮🇳Vivek🇮🇳 - avatar