JSFiddle - React, Tailwind, and code Playground

by Graham Fairweather

HTML

<a href="#" id="remove">Remove</a>

JavaScript

function remove() {
    alert("Hi");
}

document.getElementById("remove").addEventListener("click", remove, false);