CSS
With some CSS rules and some structured markup, you can build a fully functional filtering component. CSS has come a long way.
CSS-Tricks has a thorough article about the power of CSS grids with most major browsers supporting the feature.
By: CSS-Tricks