I want to show/hide a page’s content by the elements that are clicked. I was thinking I may be able to use the show/hide element on click, but I wonder if that would be limit my use case.
What I need to do is add almost a Yelp like filter element. There will be 6 profile images that I want to filter by a button click. For example, imagine there is 6 restaurants:
2 serve pizza (a)
2 serve burgers (b)
2 serve burgers and pizza (c )
A user can click an element to select “pizza” in which case 4 profiles appear (a and c profiles).
How can I create this?