two Filters on click

here how can I add current and exits filter for all tabs, based on class or data set
5 Replies
MarkBoots
MarkBoots2y ago
Aldrin, you should know by now how to ask questions
Aldrin
Aldrin2y ago
Sorry, ill add the codepen link
MarkBoots
MarkBoots2y ago
I dont know who your criterea supposed to work, but something like this should do it Important is that you keep track of what filters are selected. Everytime one of the filters is clicked, you update the list for both It could be more generalized, but think this will get you on track https://codepen.io/MarkBoots/pen/poZWyqB?editors=1111 *Also, please keep your code clean. It was all over the place with indents, capitalization, random spaces. *
Aldrin
Aldrin2y ago
Thanks for this, it's a little difficult to understand, but I will manage. And will try to keep the code clean 👍 how is [data-show='true'] is revealing the images with css? ok got it 👍
Want results from more Discord servers?
Add your server