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