0
How to create an input?
I dont know how to create an input in javascript. like when u have to make something that needs an external input. can someone please help?
4 ответов
+ 4
Refer prompt in this link:)
in tag it's not java it's JavaScript!!
https://www.sololearn.com/learn/JavaScript/1149/?ref=app
+ 2
https://youtu.be/1d90JmryqD4
+ 2
You can use the function:
For example:
var input=window.prompt("Here you can enter your input") ;
It's very simple, and then to display the input, u can use this:
alert(input) ;
I hope I helped you 😄
Happy coding 🙂
0
i want to try the hovercraft from code coach. I already have most of the code but I don’t know the input thing.