Sweet alert config code example
Example 1: sweet alert
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@9"></script>
Example 2: confirm sweet alert
swal("Are you sure?", { dangerMode: true, buttons: true,});
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@9"></script>
swal("Are you sure?", { dangerMode: true, buttons: true,});