JSFiddle - React, Tailwind, and code Playground

by drager

HTML

<button class="embed">Click me!</button>

JavaScript

$(".embed").on('click', function(event) {
    event.preventDefault();
    alert("CLICKED");
});