how to go to another page on clicking a button in html code example
Example: button with href
onClick={() => {window.location.href="https://www.golfballs.com/"}}
onClick={() => {window.location.href="https://www.golfballs.com/"}}