Nothing matches both of those
Clear the search box, or pick a different category.
What changed from the starter
One object, query, holds everything being asked for. Both
controls write into it and then call the same refresh().
Adding a third control later means adding a third field — no existing
code has to learn about it. Compare that with the version where each
control hides and shows cards on its own: with two controls that needs two
rules, and with three it needs six, one for every pair.