Use Sweet Alert rather than alert!

i love this script, it make the default alert look so much nicer, and its very easy to install. Just add the one script to your site, and then use Swal.fire rather than alert.
simple usage
Swal.fire('the message');

slightly more complex usage
Swal.fire('Sweet Alert Title', 'The Message', 'success');

Demo

Scripts

<script src="https://cdn.jsdelivr.net/npm/sweetalert2@9"></script>

Other Items in javascript
Page Views

This page has been viewed 138 times.

Search Code
Search Code by entering your search text above.
Welcome

This is my test area for webdev. I keep a collection of code snippits here, mostly for my reference. Also if i find a good site, i usually add it here.

❤👩‍💻🕹

Random Quote
Even if you fall on your face, you're still moving forward.
Victor Kiam