JSFiddle - React, Tailwind, and code Playground

HTML

<input type="button" value="Go" onclick="showAlert()">

JavaScript

function showAlert() {
    alert('???');
}