+ 3

[Answered]Ripple + Background change when button is clicked n number of times

I just made a number guessing game. I want to change the background color to red gradient when the user loses(when he fails 6 times), and a green gradient when he wins (find number bfore 6 tries). Also, the background should change with a ripple effect with its center at the center of 'Guess!' button. Thanks. https://code.sololearn.com/WLXHPKmKCcj5/?ref=app

23rd Dec 2017, 6:20 PM
Meharban Singh
Meharban Singh - avatar
2 odpowiedzi
+ 9
I modified your code a little bit. check it out https://code.sololearn.com/WZK312dRGil6/?ref=app
23rd Dec 2017, 9:12 PM
Ranjan Bagri
Ranjan Bagri - avatar
+ 4
nice, you r the bst
24th Dec 2017, 4:25 AM
Meharban Singh
Meharban Singh - avatar