JSFiddle - React, Tailwind, and code Playground

by sarfarazdesigner

HTML

for deleting any action after confirmation in jquery

JavaScript

function deleteItem() {
    if (confirm("Are you sure?")) {
        // your deletion code
    }
    return false;
}