JSFiddle - React, Tailwind, and code Playground

by greatCar

HTML

<button onclick="textx()">abut</button>

JavaScript

function testx(){
alert('xxx');

}