JSFiddle - React, Tailwind, and code Playground

by Fantasy Land

HTML

<input type="submit" id="create" name="create" value="Create">

JavaScript

$("#create").click(function() {
		//alert("Do you want to delete");
    if (confirm('Are you sure you want to Create this into the database?')) {
    alert("Yes Please");
    }else{
    //do nothing..cancel transaction
        alert("Thanks for cancelling!");
    }

});