button on click go to another html page code example
Example 1: buton html href
Example 2: button with href
onClick={() => {window.location.href="https://www.golfballs.com/"}}
onClick={() => {window.location.href="https://www.golfballs.com/"}}