Products are tagged as “New”, “Popular”, etc., and the catalog has a filtering UI, but selecting filters doesn’t update the product list. Users cannot actually filter by category.
Suggest solution:
Implement filtering logic using JavaScript by assigning each product a category and updating the displayed list when a filter is selected. Optionally, use a simple data structure or database to store and organize product data.
Products are tagged as “New”, “Popular”, etc., and the catalog has a filtering UI, but selecting filters doesn’t update the product list. Users cannot actually filter by category.
Suggest solution:
Implement filtering logic using JavaScript by assigning each product a category and updating the displayed list when a filter is selected. Optionally, use a simple data structure or database to store and organize product data.