upgrate SweetAlert code example Example: sweet alert <script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>