how to give a button an href code example
Example 1: href on a button
<button onclick="window.location.href='/page2'">Continue</button>
Example 2: button with href
onClick={() => {window.location.href="https://www.golfballs.com/"}}
<button onclick="window.location.href='/page2'">Continue</button>
onClick={() => {window.location.href="https://www.golfballs.com/"}}