Get next element's URL in CMS Collection

Hello everybody.
I’m trying to create a blog page where it scrolls to the next blog post automatically. I understand I need to add JS and I have that settled, my problem comes on how to get the URL of a different post without it being the same all along? I don’t know if that makes sense.
So element #1 will scroll down to element #2, #2 to #3 and so on…
I can’t find a solution on how to add a dynamic URL to JS!

Any help appreciated, thank you!!


Here is my public share link: (https://preview.webflow.com/preview/kristin-landing-page-ef97-5d021aead6a42?utm_medium=preview_link&utm_source=designer&utm_content=kristin-landing-page-ef97-5d021aead6a42&preview=64db106ecdb60730f0238f729c58ca55&pageId=62ea51c0edb0827287f06cad&itemId=62ebb7a97f7f91e10eaab21f&workflow=preview)