20% discount for your first project

Get a Quote

SweetAlert JS

SweetAlert JS

Suboor Khan

#Typescript#Javascript#HTML
SweetAlert A beautiful replacement for JavaScript’s “alert”.

SweetAlert A beautiful replacement for JavaScript’s “alert”.

# Installation

Importing CDN url to your HTML file

<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>


# Getting started

Showing an alert

After importing the files into your application, you can call the swal function (make sure it's called after the DOM has loaded!)



     
        swal("Good job!", "You clicked the button!", "success");
     
 

Read more on official sweetAlert website.
HomeServicesCase StudiesHire Us