I have problem with for | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I have problem with for

I'm making a effect if i click a button and than if the button click, button's background and color will change. but this doesn't work like that. Please help me to fix this problem and explain to me why it is happend? Thanks before!! https://code.sololearn.com/WQFvwi9tS8OU/?ref=app

6th Apr 2020, 4:38 AM
Hafizd Jubaidir
Hafizd Jubaidir - avatar
2 Answers
+ 2
Please share your whole code, it's incomplete. Maybe you just need to use <= instead of >= in line 17 for loop but I can't be sure if you don't share all your code.
6th Apr 2020, 4:48 AM
Kevin ★
0
Kevin Star ok thanks it solved
6th Apr 2020, 5:08 AM
Hafizd Jubaidir
Hafizd Jubaidir - avatar