0
How can I add variables in my javascript code while iam running the code
Make button which Says ''add'' that saves my input
2 Answers
+ 2
Do you mean something like this?
https://stackoverflow.com/questions/38512034/add-value-of-button-into-input-field-on-button-click
0
You need to listen for click of button and than store input value.
Than inside listener you can create variable or just set value to already created variable.
https://code.sololearn.com/WTToHBmISFU9/?ref=app