New course! Every coder should learn Generative AI!
Try a free lesson0
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
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.
0
Kevin Star ok thanks it solved