JSFiddle - React, Tailwind, and code Playground
by greatCar
HTML
<button onclick="textx()">abut</button>
JavaScript
function testx(){
alert('xxx');
}
by greatCar
<button onclick="textx()">abut</button>
function testx(){
alert('xxx');
}