AnyIdea.. Help with this blocks to solve

i want to change the button color as per specified numbers in block.

In designer keep the buttons background color to default & hope it will work.

My bad. Anyway i solved myself.

Reason for not working
In most cases (like 83), the value was below 90 and above 1. So it set button1, button2 and button3’s background colour to green and two other conditions set background colour to gray of all buttons.
You have used equals block along two boolean returning blocks (2nd post) instead of or (1st post).
Btw. if both conditions are false, false = false, so it is not perfect solution.
I suggest using and block instead of 1st post’s ors.

3 Likes