1<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
2<button class="btn btn-outline-danger" onclick="delete1()">Delete</button>
3<script>
4 function delete1(){
5 swal({
6 title: "Good job!",
7 text: "You clicked the button!",
8 icon: "error",
9 button: "Aww NOoo!",
10});
11 }
12
13 </script>
1<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
2<script>
3swal({
4 title: "Good job!",
5 text: "You clicked the button!",
6 icon: "success",
7 button: "Aww yiss!",
8});
9</script>