This isn't new, back in 2012, when a website or application used this JavaScript API, it was a deal-breaker for me and I'd categorize that application as "poor quality" 👎.
To counter this, for a long time, I would asynchronously load libraries like SweetAlert2. ViteUneTable for example, uses SweetAlert for confirmation requests ✅.
Alongside that, for small more complex interfaces, Bootstrap offered things like "modals" 🪟.
In 2014, dialog elements started to appear and it wasn't until March 2022 that this API became truly usable as it was compatible with 94% of browsers 🎉.
This week we're revisiting dialogs and how to get rid of alert() once and for all 🚀.