0
SEND HTML INPUT TO .JS FILE
I just started learning JS and i got to the conditional part , i want to practise on some examples but how can i make a INPUT entry in my html code ? And how to send it to the javascript file ?
2 Antworten
+ 1
Here is some info on interacting with your HTML and CSS via JS (hit the "Next" button for more): https://www.w3schools.com/js/js_htmldom.asp
For input elements, .value will give you what the user enters.
Here is a demo I made for someone before: https://code.sololearn.com/W8MJ1x4qAmbr/?ref=app
0
Here's the SoloLearn tutorial: https://www.sololearn.com/learn/JavaScript/2752/
It all seems a little confusing at first. Perhaps I can make you a better demo later.