Hi I’m having trouble with onclick event on a block. This is what I want to do:
I want to add the values of highlighted blocks and append them to the text on the top left. This code only changes the text on the top left and not append each newly selected block to it.
I have tried adding the values to a list each time but the list does not keep the previous values. Am I missing something or is there a specific way to solve this? Any help will be appreciated. Thank you