how to navigate to a different part of your website using js button code example
Example 1: js onclick redirect
<button onclick="location.href='www.yoursite.com'">Click Me</button>
Example 2: javascript response redirect
window.location = "SomePage.aspx";