Sweet Alerts :)

Alerts were added at the time of registration, login, resume generation, certificate generation. For this, sweet alerts have been used.
SweetAlert was created by Tristan Edwards. These alerts are very easy to use.
SweetAlert also comes with some simple methods that you can call: setdefault, close, showinput error, enable and disable buttons.
Initialize the plugin by referencing the necessary files:

http://dist/sweetalert.min.js

Call the sweetAlert-function after the page has loaded

swal({
title: “Error!”,
text: “Here’s my error message!”,
type: “error”,
confirmButtonText: “Cool”
});

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: