Practice · Conditional Logic & Loops
Dynamic Controls
Why this is tricky
Both controls below take about a second to react, and both change what the trigger button means afterward. Click, then check the result too early and you'll catch a stale state; write your assertion, don't assume, and remember the button you just clicked will say something different next time.
1. Remove / Add
2. Enable / Disable
Initial state.