button open page on click code example
Example 1: href on a button
<button onclick="window.location.href='/page2'">Continue</button>
Example 2: how to open a new html page on button click in javascript
<button id="myButton" class="float-left submit-button" >Home</button>
<script type="text/javascript">
document.getElementById("myButton").onclick = function () {
location.href = "www.yoursite.com";
};
</script>