In order to create a portfolio gallery that has the option of filtering, we follow the following four steps.
Lines 3–8: We make a list for different categories.
Lines 9–20: We add pictures for different categories.
Line 22: We enable the script to add JavaScript functionality.
Lines 2–7: We add styling for the border-box.
Lines 8–16: We add styling for the whole layout.
Lines 17–35: We add styling for the list items.
Lines 36–59: We add styling for the products.