JSFiddle - React, Tailwind, and code Playground
by fkling
HTML
<input type="submit" class="link" value="Login" />
CSS
.link {
background-color: transparent;
border: none;
color: blue;
cursor: pointer;
}
.link:hover {
text-decoration: underline;
}
JavaScript
// using jQuery only for simplicity
$('button').click(function() {
alert("Hey, who clicked me?");
});