Counting items clicked and displaying count in score

pvalleley3585 Community Member Posts: 17
Hi all

I have 8 rectangles each containing a correct or incorrect statement. I want to add one (1) if the correct box is clicked and subtract one (1) if an incorrect one chosen. In my mind I would like a dynamic display that shows the score out of 8 as the learner clicks on each one.  I’ve tried add to/subtract from variable and then adding the variable in a text box but it always shows zero.  What am I doing wrong?