When click then adding the active class but Isotope.js filter not working

I am using isotope plugin. According to documentation, I tried the below code but it’s not working. When I click on then it’s adding the active class but filter not working. Can you help me out where is the issue in this? Answer I think you used wrong documentation. Use this one for jQuery : https://isotope.metafizzy.co/filtering.html