+ 3

Anyone know how to make a restart button?

I mean like if I wants to run my code again then I will just press the button and output will run again (HTML or JS) I wants restart button so I can re-enter the number. https://code.sololearn.com/W24nxSjzeAp6/?ref=app

30th Sep 2022, 11:22 AM
Umair Ansari
Umair Ansari - avatar
7 ответов
+ 4
https://code.sololearn.com/WEAipM7NEH1B/?ref=app
1st Oct 2022, 11:40 AM
‎محمدرضا هاشم زاده‎
‎محمدرضا هاشم زاده‎ - avatar
+ 2
👆🏼this is your answer.
1st Oct 2022, 11:41 AM
‎محمدرضا هاشم زاده‎
‎محمدرضا هاشم زاده‎ - avatar
+ 2
Thanks bro but what chapter is this in js
1st Oct 2022, 1:49 PM
Umair Ansari
Umair Ansari - avatar
+ 2
These are functions in js. You can use functions many times with many inputs in your code. I hope you understand my friend.
1st Oct 2022, 8:56 PM
‎محمدرضا هاشم زاده‎
‎محمدرضا هاشم زاده‎ - avatar
2nd Oct 2022, 12:05 AM
Bob_Li
Bob_Li - avatar
+ 1
If you can tell me what do you want to make.
30th Sep 2022, 11:34 AM
‎محمدرضا هاشم زاده‎
‎محمدرضا هاشم زاده‎ - avatar
+ 1
You can do this with JS
30th Sep 2022, 11:34 AM
‎محمدرضا هاشم زاده‎
‎محمدرضا هاشم زاده‎ - avatar