JSFiddle - React, Tailwind, and code Playground
by Alex Chariz
HTML
<a id="a1" href="https://www.facebook.com/"> </a>
<input type="button" onclick="f1();return false;">
JavaScript
function f1() {
window.open(document.getElementById("a1").href, "_blank");
}