sweetalert install code example
Example 1: how to use sweetalert
<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
Example 2: sweetalert2
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@10"></script>
Example 3: sweetalert2 js
<link href="//cdn.jsdelivr.net/npm/@sweetalert2/theme-dark@4/dark.css" rel="stylesheet">
<script src="//cdn.jsdelivr.net/npm/sweetalert2@10/dist/sweetalert2.min.js"></script>