+ 1
How can I make the buttons turn red when it reaches the specified number?
I have this code that simply adds and subtracts. I recently figured out how to limit it. But how can I make the buttons turn red? Like When it reaches 5, the + button will turn red and when it reaches 1, the - button will turn red https://code.sololearn.com/WQtkfnr8ukt3/?ref=app
3 odpowiedzi
+ 4
https://code.sololearn.com/WRfeno89lFhL/?ref=app
+ 1
Donna I was told to do that so that it stop counting. I want it to stop counting and turn red but only when it reaches the specified number.
0
Everything I've tried has failed ;-;