make a button redircet ti a kink code example
Example 1: onclick href
onclick="location.href='http://www.hyperlinkcode.com/button-links.php'"
Example 2: js onclick redirect
<button onclick="location.href='www.yoursite.com'">Click Me</button>
Example 3: html button click url
# Wrap whole button in a 'a' tag.
<a href="https://google.com" class="button"><button class="pixel">Button text</button></a>
Example 4: button with href
onClick={() => {window.location.href="https://www.golfballs.com/"}}