Any ideas of how I can make the scroll function to work on mobile as well? https://codepen.io/raul-rogojan/pen/KKPQjZZ?editors=0010
I could add an if statement with window.PointaerEvent and change the event listener from wheel to touch and pointer event and use e.pageY instead of e.wheelDelta but I don’t know exactly how it’s done.