how to put a url in a button html code example
Example 1: html button with href
<form method="get" action="/page2">
<button type="submit">Continue</button>
</form>
Example 2: button with href
onClick={() => {window.location.href="https://www.golfballs.com/"}}