Skip to content
Advertisement

Filterable gallery using slick.js

I’m trying to create filterable gallery with differents buttons but when I click on them the filter is working but that let empty space in the gallery for the other pictures. I tried to use different script from the forum but that always let empty space.

This is an exemple of the HTML :

JavaScript

And the JavaScript :

JavaScript

This is the code pen : https://codepen.io/MrBonsoir/pen/abJGxPv

Thanks for your help

Advertisement

Answer

Slick slider has its own filtering methods. You can use them

JavaScript
JavaScript
JavaScript
User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement