sweet alert danger code example
Example 1: Sweetalert
<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
<script>swal("My title", "My description", "success");</script>
Example 2: sweet alert
<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
Example 3: sweet alert
swal("Good job!", "You clicked the button!", "success");