sweetalert2 popup on click code example Example: alert sweetalert2 <script src="https://cdn.jsdelivr.net/npm/sweetalert2@10"></script>