button click move to next page in html code example Example: button with href onClick={() => {window.location.href="https://www.golfballs.com/"}}