JSFiddle - React, Tailwind, and code Playground

by Breathe Code

HTML

<!– myClickHandler is a javascript function that will handle the event –>
<button onclick="myClickHandler();">Click me</button>

JavaScript

function myClickHandler(){
     alert('hello');
}