Popup - Do you know JavaScript alerts are evil?

Last updated by Brady Stroud [SSW] about 2 months ago.See history

JavaScript alerts are evil. Not only are they ugly, they look unprofessional...

JS Alert

Bad example: A JavaScript alert showing a message to the user

JSAlert Code

Bad example: The alert(".....") is the evil code

Toastr Alert

Good example: The message in green is rendered as Html

JS Alert 2

Good example: In this example, Toasteris used

Danijel Malik
We open source. Powered by GitHub