How to make filter content by the tags classes?

www.giovannicasellato.it/it/works

you need to make a copy of this page how to implement sorting by clicking on a tag ?

What is the most simple solution ?
July 8th 19 at 15:27
2 answers
July 8th 19 at 15:29
Well, if the data is loaded from the server, there will love to have with each item linking to a tag, and all sql to resolve the query like "SELECT * FROM images WHERE tag='some tag'", so this must be done on the side of the backend.. If you are getting ready to data, you can use cycle from the array to throw the necessary elements in the new array, and from it has to display
July 8th 19 at 15:31
On the front you can use the isotope script
isotope.metafizzy.co

Find more questions by tags HTMLWeb DevelopmentCSS