+ 1
How do you make a form in HTML, and acess it in Javascript
If I made a form that asked for a players name in HTML, how do I print that name in Javascript. getElementById("name").innerHTML results in an error, as getElementById is not defined. Assume that id="name"
2 Réponses
+ 2
Please show us your code in SoloLearn *Code Playground*. 👌
0
https://code.sololearn.com/WA37pQ5S7VQE/?ref=app
I think you can check that code ;)