What are you trying to do that you can't?
I want to create and share a small interactive example in the Tools gallery. The example would work like a study-tracking tool where users can choose whether to add study time or reset the tracker.
This would help beginners learn how to combine buttons, selectable choices, state changes, and conditional expressions in Wordplay.
What is your idea?
Create a new Wordplay example called Study Mode Meter.
This example demonstrates two interaction patterns:
- Button: users can click a button to add one study hour.
- Show selectable choices: users can choose between two actions, adding study time or resetting the tracker.
The example would have two controls:
- Add Study Hour: increases the study hour count by 1
- Reset: sets the study hour count back to 0
As the number of study hours changes, the displayed message changes between three modes:
- Calm Mode: fewer than 3 hours
- Focus Mode: 3 to 5 hours
- Overload Mode: 6 or more hours
Suggested gallery: Tools
What are you trying to do that you can't?
I want to create and share a small interactive example in the Tools gallery. The example would work like a study-tracking tool where users can choose whether to add study time or reset the tracker.
This would help beginners learn how to combine buttons, selectable choices, state changes, and conditional expressions in Wordplay.
What is your idea?
Create a new Wordplay example called Study Mode Meter.
This example demonstrates two interaction patterns:
The example would have two controls:
As the number of study hours changes, the displayed message changes between three modes:
Suggested gallery: Tools