Sorry if the title doesn’t exactly describe what I'm trying to do. At least I'm a beginner. To help you understand what I'm trying to accomplish, read the example below.
I have a list of divs, each of which can have a series of "tags" as I call them. In this example, I will use Red, Blue, and Green as possible tags. Each tag has a button associated with it, which the user can click to filter which divs are displayed. When the button is "on", it will display divs with this particular tag, but when it is "off", it will hide the content with this tag. That is, if the content does not have another tag that is currently enabled.
Red: ON
Blue: OFF
Green: ON
DIV 1: Red
DIV 2: blue
DIV 3: Green
DIV 4: red, blue
DIV 5: blue, green
DIV 6: green, red
Since the Blue tag is disabled, each DIV will be displayed except for DIV 2. The reason it still displays DIV 4 and DIV 5 is because the Red and Green labels are still on. If you disabled the Red label, then only DIVs 3, 5 and 6 would be displayed, since only the green color is on.
I'm sure there is a much more elegant way to explain the above, but hopefully it got the point. I was looking for a solution that will achieve this, but have not yet found it. There are many list filters that use search fields, but this will not work for my needs.
If someone can point me in the right direction as to what I could use to achieve this, I would appreciate it!