Answer the question
In order to leave comments, you need to log in
How can I implement a double button filter in js?
Hello! Your help is very much needed.
I have a task to implement a filter in JS that will display posts depending on the filter.
The difficulty is that you need to synchronize two filters, by year and by name.
Let's say: we press "Sports ground" all records with the tag sports ground for all years are displayed, then we press "2017" all records "sports ground for 2017" are displayed. https://jsfiddle.net/katerinalevkina7/xpjdvcyh/18/
Thanks in advance!
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question