dismiss sweetalert2 code example
Example 1: swal
swal("Good job!", "You clicked the button!", "success");
Example 2: sweetalert2 example html
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@10"></script>
swal("Good job!", "You clicked the button!", "success");
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@10"></script>