Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript custom modal

Swal.fire({
  icon: 'error',
  title: 'Oops...',
  text: 'Something went wrong!',
  footer: '<a href="">Why do I have this issue?</a>'
})

this is javascript cdn put this code in your html body section ending the body section 
<script src="//cdn.jsdelivr.net/npm/sweetalert2@11"></script>
Source by sweetalert2.github.io #
 
PREVIOUS NEXT
Tagged: #javascript #custom #modal
ADD COMMENT
Topic
Name
6+9 =