Differences between alert, prompt and confirm methods in JavaScript
Originally posted here!
Photo by
Kelly Sikkema
alert() method
The alert() method is used to show some quick alerts like warnings, errors, or information.
alert("This is a warning! ๐ซ"); // alert shown
The method accepts a string as ...
melvingeorge-me.hashnode.dev2 min read