js swal button code example
Example 1: sweet alert bootstrap
Swal.fire( 'Good job!', 'You clicked the button!', 'success')
Example 2: sweetalert2 example html
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@10"></script>
Swal.fire( 'Good job!', 'You clicked the button!', 'success')
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@10"></script>