sweeet alerts code example
Example 1: sweet alert
<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,});