Hi Framers! I'm in need of some help as I'm fairly new to Framer.
I wanted to make a number (text) to increase upon clicking a button and decrease upon clicking another button.
Which code should I use to make this happen?
Thanks in advance!
myNumber += 1myNumber -= 1
if supported in coffee
myNumber = myNumber + 1
In the click event of the button
this example I made may help you: http://share.framerjs.com/lxl3cmuxt9fu/
essentially, just create a variable with the start # (count = 0) and then under an event handler put 'count++' to increase by 1 or count-- to decrease by 1