Button to append URL and scroll

Hi
I’m trying to get a button to do 2 things on click: append the URL and scroll down the page.

Any ideas on how to do this?
Thank you!