how to open a new link 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/"}}