sweet alert success message code example
Example 1: confirm sweet alert
swal("Are you sure?", { dangerMode: true, buttons: true,});
Example 2: sweet alert bootstrap
Swal.fire({ icon: 'success', title: 'Oops...', text: 'Something went wrong!', footer: '<a href>Why do I have this issue?</a>'})
Example 3: sweet alert bootstrap
swal("Good job!", "You clicked the button!", "error")