Installation: The SweetAlert2 library can be included by using the following CDN link:
Example 2: This example shows the use of this library for a like button.
- Bootstrap (Part-7) | Alerts , Wells, Pagination and Pager
- Bootstrap 4 | Alerts
- How to Automatically Close Alerts using Twitter Bootstrap ?
- Bootstrap 5 Alerts
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.