Skip to content
Advertisement

Tag: fullpage.js

How do I change the route as I scroll?

I’m making my portfolio with fullpage.js and I wanted to add a route every time I get to the next element as I scroll. For example: when I open the page I get the<Home /> element in that section I want to put the router /#home when scrolling to the 2nd element <About /> the router /#about is placed, and

Advertisement