sweet alert type danger code example
Example 1: sweet alert bootstrap
Swal.fire({ icon: 'success', title: 'Oops...', text: 'Something went wrong!', footer: '<a href>Why do I have this issue?</a>'})
Example 2: sweet alert bootstrap
swal("Thank you!", "We will get back to you if required", "success");