+ 2
How can I make the code display work 1, work 2 .... And Hi 1, Hi 2 Instead of only work and Hi respectively?
2 ответов
+ 6
Bithi D , you need 2 variables for each and increment it every setInterval call.
Here's a working code
https://code.sololearn.com/WhU2Y9LRSNgA/?ref=app
+ 1
thank you