- Enter a value and click Push to insert it at the top of the stack.
- Click Pop to remove the top element from the stack.
- Click Clear to reset the stack to an empty state.
- The index of the pointer pointing to the top element of the stack is displayed below the animation area.