cdn sweetalert 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");
Example 3: sweet alert react
import swal from 'sweetalert';