Apply show/hide interaction to other page

Hey everyone,

I have a page where I can filter div blocks using show/hide actions. This all works fine. However, I want to be able to filter from another page. Let me elaborate.

On one page, let’s call it the filter page, I have items that are ‘filterable’. They are div blocks with three different classes. There are four buttons, named ‘filter 1’ ‘filter 2’ ‘filter 3’ and ‘all’. Filter 1 has an action to it, that shows all the divs with class ‘div 1’, and hides ‘div 2’ and ‘div 3’. (the other buttons have similar actions). So far, this works great.

What I want to do, is that at the home page, people can click on ‘filter 1’. That would take them to the filter page and immediately apply filter 1. Unfortunately, I can’t figure out how to apply an action to an item on the home page, that plays out on the filter page.

I really hope someone can help me out!

Here is my public share link: LINK
(how to access public share link)