Simple call sweetalert2 on your page



for complete tutorial you can read slowly in this link sweetalert2. and now i choose simple method for call it

add 

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


and make paste this script on same page

<script>
    Swal.fire({
        title: 'Berhasil!',  
        text: 'Sweet Alert done Yu tant',  
        icon: 'success',  
        confirmButtonText: 'Oke'});
</script>