const btn = document.getElementById('examp'); btn.addEventListener('click', function () { Swal.fire({ title: "Good job!", text: "Ujian telah diselesaikan!", icon: "success" }); });