success sweet alert 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: sweetalert
<script src="//cdn.jsdelivr.net/npm/sweetalert2@10"></script>
Example 3: sweet alert
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@9"></script>
Example 4: sweet alert bootstrap
Swal.fire( 'Good job!', 'You clicked the button!', 'success')
Example 5: sweet alert example
swal("Here's a message!")
Example 6: sweet alert
swal("Hello world!");