Comparing the Different Types of Native JavaScript Popups

October 31st, 2019

JavaScript has a variety of built-in popup APIs that display special UI for user interaction. Famously: alert(“Hello, World!”); The UI for this varies from browser to browser, but generally you’ll see a little window pop up front and center in a very show-stopping way that contains the message you just passed. Here’s Firefox and Chrome:…