link html page to form button 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/"}}