JSFiddle - React, Tailwind, and code Playground

by nicomiceli

HTML

<a id="link1" href="http://www.stackoverflow.com">site</a>

JavaScript

$('#link1').click(function(){ 
    //ga('send', 'event','Outbound', 'Click', this.href); 
    console.log(this.href); //debug 
    window.setTimeout("window.location.href='" + this.href + "'", 1000); }
)