JSFiddle - React, Tailwind, and code Playground
HTML
<input type="button" value="Go" onclick="showAlert()">
JavaScript
function showAlert() {
alert('???');
}
<input type="button" value="Go" onclick="showAlert()">
function showAlert() {
alert('???');
}