How to make a "custom alert" box for HTML

Hey gamers!

I am currently creating a webpage and we are looking to make a custom alert system so we don’t have to use the ugly preset one. Any help or guidance direction would be cool. (Trying to make it for general errors)

I would recommend that you look into SweetAlert.


If you are using bootstrap then the bootstrap modal is a good option. Otherwise look up css guides for shadowboxes and modals.

SweetAlert2 is better than the first version though!