JSFiddle - React, Tailwind, and code Playground

by Andy Bat

HTML

<input type="button" id="btnSave" value="Save PNG"/>

JavaScript

$(function() { 
    $("#btnSave").click(function() { 
    alert(1)
    });
});