sweetalert2.github.io code example
Example 1: jquery sweet popup
$.sweetModal.prompt('Can I haz cheezeburger?', 'Can I?', 'Nope', function(val) {
$.sweetModal('You typed: ' + val);
});
Example 2: sweetalert2
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@9"></script>
Example 3: sweet alert bootstrap
Swal.fire({ icon: 'success', title: 'Oops...', text: 'Something went wrong!', footer: '<a href>Why do I have this issue?</a>'})
Example 4: sweet alert bootstrap
Swal.fire( 'Good job!', 'You clicked the button!', 'success')