succcess sweet alert code example
Example 1: how to use sweetalert
<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
Example 2: confirm sweet alert
swal("Are you sure?", { dangerMode: true, buttons: true,});
<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
swal("Are you sure?", { dangerMode: true, buttons: true,});