JSFiddle - React, Tailwind, and code Playground
by dima_k
HTML
<input type="button" value="Click Me" onclick="alert('Clicked')" />
<input type="button" value="Click Me" onclick="showMessage()" />
JavaScript
function showMessage() {
alert("Hello world!");
}