create your own sweet alert code example
Example 1: how to use sweetalert
<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
Example 2: sweet alert example
swal("Here's a message!")
<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
swal("Here's a message!")