sweetalert2 example html
snippet in html

sweet alert js

user7065

swal({
     title: "Deleted!",
     text: "Your row has been deleted.",
     button: "Close", // Text on button
     icon: "success", //built in icons: success, warning, error, info
     timer: 3000, //timeOut for auto-close
      buttons: {
        confirm: {
          text: "OK",
          value: true,
          visible: true,
          className: "",
          closeModal: true
        },
        cancel: {
          text: "Cancel",
          value: false,
          visible: true,
          className: "",
          closeModal: true,
        }
      }
     });

sweetalert2

user7016

<script src="https://cdn.jsdelivr.net/npm/sweetalert2@9"></script>

sweetalert2 example html

user3377

<script src="https://cdn.jsdelivr.net/npm/sweetalert2@10"></script>

jquery sweet popup

user5741

$.sweetModal.prompt('Can I haz cheezeburger?', 'Can I?', 'Nope', function(val) {
	$.sweetModal('You typed: ' + val);
});