Displaying tags in a repeater box

I have a set of repeating article boxes connected to a repeater. I every box I want to display tags which are relevant to the articles ( can be multiple tags too for each box). On click of any tag i want to filter out articles/boxes which have that particular tag.

For ex in this website — https://the-ken.com/ (See all past issues section)

If you see the second box there is a tag called “Free Reads”. Something like that and on click of that i want to filter articles which have that tag. Basically i want to connect each article box with one or multiple tag. Pleasseeeeeeeee HELP ME

You can try do so by setting up collection fields for each tag, add value in the items that should contain the tag. Then create a query that will use a isEmpty() to see if there are any items matching the value. This will return the items that do not have any value in the specified field and therefore should be collapsed.

You can find more information here:
https://www.wix.com/corvid/reference/wix-data.html#query
https://www.wix.com/corvid/reference/wix-data.WixDataQuery.html#isEmpty
https://www.wix.com/corvid/reference/$w.Repeater.html#forItems
https://www.wix.com/corvid/reference/$w.Repeater.html#collapse