Symptom
When the user types notes for specific exercises and then reorders the list (move up/move down), the note text stays in the original position instead of moving with its exercise. For example, if "Bench Press" has the note "increase weight", moving it down causes "Squat" to show "increase weight" instead.
Expected
Notes should stay attached to their exercise when the list is reordered.
What you know
The exercise list renders items in a loop. Each item has an input field for notes. When the user reorders items, the notes seem "stuck" to their position rather than following the exercise data.
Hints
TypeScript
TypeScript ready
Test Output
▶
Click "Run Tests" to execute your code