JSFiddle - React, Tailwind, and code Playground

by rao b

HTML

<input type="button" value="test" onclick="test()">

JavaScript

function test() {
  alert("test");
}