0

How to make my number change 1 to 100? (SORRY FOR MY BAD ENGLISH)

With one tap?

18th May 2021, 7:43 AM
Robotronz123
Robotronz123 - avatar
10 Answers
+ 1
Here are some recent codes wich avoid use of click to display result of user inputs (by using "onchange" event on <input> fields): https://code.sololearn.com/WP7lmHpZUB3V/?ref=app https://code.sololearn.com/W80u8YwyZsEH/?ref=app https://code.sololearn.com/W54s3sdjbiZn/?ref=app
18th May 2021, 9:05 AM
visph
visph - avatar
+ 1
Robotronz123 What do you mean by Number Change?
18th May 2021, 7:51 AM
A͢J
A͢J - avatar
+ 1
define an <input> element to receive user input, and an 'onclick' event with a function wich test the value of the input, then if the value equals 1 assign it 100 to replace it ^^
18th May 2021, 8:58 AM
visph
visph - avatar
+ 1
Yes thx
18th May 2021, 8:59 AM
Robotronz123
Robotronz123 - avatar
0
and what do you mean by "tap"?
18th May 2021, 8:49 AM
visph
visph - avatar
0
Like...
18th May 2021, 8:53 AM
Robotronz123
Robotronz123 - avatar
0
Uhmm
18th May 2021, 8:53 AM
Robotronz123
Robotronz123 - avatar
0
When we tap that number, that number will change his value to 100 with one click. Sorry for my bad English
18th May 2021, 8:54 AM
Robotronz123
Robotronz123 - avatar
0
But pls show the script
18th May 2021, 9:00 AM
Robotronz123
Robotronz123 - avatar
0
Thanks
18th May 2021, 9:06 AM
Robotronz123
Robotronz123 - avatar