JSFiddle - React, Tailwind, and code Playground

by lindychen

HTML

<a class="elementor-button-link elementor-button elementor-size-sm" role="button" id="blahgah2">
  <span class="elementor-button-content-wrapper">
    <span class="elementor-button-text">Click here 2</span>
  </span>
</a>

JavaScript

document.getElementById("blahgah2").addEventListener("click", clicky2);

function clicky2() {


window.open('http://www.google.com');}