how to link a button to another page in html using javascript code example
Example: href on a button
<button onclick="window.location.href='/page2'">Continue</button>
<button onclick="window.location.href='/page2'">Continue</button>