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 202 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
Ever tried. Ever failed. No matter. Try again. Fail again. Fail better. You won't believe what you can accomplish by attempting the impossible with the courage to repeatedly fail better.
Unknown