Calendar Functionality using Variables

image

Hi, I’m in the process of creating an interactive calendar using variables (following this video: Create Interactive Calendar (Date Picker) using Local Variables and Conditional Prototype in Figma (youtube.com)). There’s an issue where I am using “+1” to increase the year and trying to implement “-1” to decrease the year. Trying to implement the action of “-1” fails, appears as an error.

I can see from the tutorial that there is a list of items available: Addition, Subtraction, Divide, etc (see image). I can’t see these options in Figma. Are these variables that need to be created elsewhere and called upon?

Any help/guidance would be received with much excitement! Completely stuck at this point.

:roll_eyes:

I’ve resolved it! My error… I should’ve created a “number” string, but created a “text string” somehow! Eek.

1 Like