PF
Day 19: Product Filter List
Filter and search products in real-time using Array.filter() and DOM rendering.
—
How it works (short)
The JS keeps a products array. On any control change, it builds a filtered array using `filter()` chained with conditions from search text, category, price, and stock flags. Then it sorts (if requested) and re-renders the product cards.