AnyThoughts on how to Streamline code when using color changing buttons and dynamic labels and buttons

For the first part with the background colors, here’s what I would do. The efficient part of it – besides fewer blocks – is that you can add or remove buttons from the demo and it will still work without any changes to the code. Don’t believe it? Add a new row below the last one and then drag three buttons into it next to each other. Test and see!

https://x.thunkable.com/copy/df53b29a9d8f98c79e6856f2bc6e5865