JSFiddle - React, Tailwind, and code Playground

by jackdent

HTML

<input type="button" id="button" value="button">

JavaScript

$('#button').click(function() {
    $(this).remove();
});