This opens a popup 3 seconds after the page has loaded
To add this do the following
-
Add this to the page
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
-
to reference the popup library
-
Copy
popup.js
to the root or host the file on a server -
Add a reference to the popup.js file
<script src="popup.js"></script>
Or for testing
<script src="https://antonlungameni.github.io/FlyNamibia/popup.js"></script>
This project is licensed under the MIT License - see the LICENSE.md file for details.