JSFiddle - React, Tailwind, and code Playground
HTML
<button class="link">Click me</button>
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?");
});