JSFiddle - React, Tailwind, and code Playground

by alexbfree

HTML

<a id="fish" target="_blank" href="">click</a>

JavaScript

$('#fish').attr('href','http://www.google.com');