Problem Brief
Implement a linked min/max price range slider that enforces `min <= max - gap` and filters visible product cards in real time.
Requirements
- Clamp `[data-testid="min-range"]` so it never exceeds `max - 100`.
- Clamp `[data-testid="max-range"]` so it never drops below `min + 100`.
- Display active range inside `[data-testid="range-label"]` (`$min - $max`).
- Filter `.product-row` items inside `[data-testid="product-list"]` dynamically.
Progressive Hints (1)
- Listen to `input` events on both range inputs, clamp conflicting value, then update label and list.
Reference Solution
Stuck? Load the verified reference code into your editor.
Automated Test Suite
2 Test Cases Ready- Filters products within initial range$200-$800 shows Keyboard and Monitor only
- Clamps crossing handles with 100 minimum gapMoving min above max clamps to max - 100
Live Sandboxed Previewiframe sandbox