JSFiddle - React, Tailwind, and code Playground

by interdream

HTML

<a href="http://www.google.com">Testing link</a>

CSS

.link { cursor:pointer }

JavaScript

$("a").each(function() {
   $(this).replaceWith("<span class='link' data-href='" + $(this).attr("href") + "'>" + $(this).text() + "</span>"); 
});
$(".link").click(function() {
   window.location = $(this).data("href"); 
});