form pendaftaran olimpiade
Formulir Pendaftaran Olimpiade Matematika 1. Nama Lengkap 2. Tempat, Tanggal Lahir 3. NISN 4. Asal Sekolah 5. Upload Surat Keterangan Siswa Aktif (PDF/JPG/PNG, Max 2MB) 6. Upload Pass Foto Peserta (JPG/PNG, Max 2MB) Kirim Pendaftaran '; const form = document.getElementById('olympiad-form'); const statusMsg = document.getElementById('status-message'); const submitBtn = document.getElementById('submit-btn'); const fileToBase64 = (file) => new Promise((resolve, reject) => { const reader = new FileReader(); reader.readAsDataURL(file); reader.onload = () => { const base64String = reader.result.split(',')[1]; resolve({ fileName: file.name, mimeType: file.type, data: base64String }); }; reader.onerror = erro...