Daily Practice Portal

AgVetNepal Daily Exam

Daily Practice Portal

🌾

Agriculture

Crop science, soil, agronomy & more

◴ Next refresh in–:–:–
🐄

Animal Science

Livestock production & management

◴ Next refresh in–:–:–
🐾

Veterinary

Animal health, diseases & treatment

◴ Next refresh in–:–:–
🐟

Fisheries

Aquaculture, fish biology & ecology

◴ Next refresh in–:–:–
\n\n"}]; function isSetVisible(s){if(s.status==='active')return true;if(s.status==='draft')return false;if(s.status==='scheduled'&&s.date)return new Date(s.date)<=new Date();return false;} function openQuizWindow(html){ var existing=document.getElementById('agp-quiz-overlay');if(existing)existing.remove(); var overlay=document.createElement('div');overlay.id='agp-quiz-overlay';overlay.style.cssText='position:fixed;inset:0;z-index:999999;background:#f4f7f4;display:flex;flex-direction:column;'; var bar=document.createElement('div');bar.style.cssText='display:flex;justify-content:flex-end;align-items:center;padding:10px 14px;background:#14551d;'; var close=document.createElement('button');close.type='button';close.textContent='Close Quiz';close.style.cssText='border:0;border-radius:10px;background:#fff;color:#14551d;font-weight:800;padding:9px 14px;cursor:pointer;';close.onclick=function(){overlay.remove();}; var iframe=document.createElement('iframe');iframe.title='AGVETNEPAL Quiz';iframe.style.cssText='border:0;width:100%;height:100%;flex:1;background:#fff;'; bar.appendChild(close);overlay.appendChild(bar);overlay.appendChild(iframe);document.body.appendChild(overlay);iframe.srcdoc=html; } function openQuiz(sectorId){ var sets=QUIZ_SETS.filter(function(s){return s.sectorId===sectorId&&isSetVisible(s);}); if(!sets.length){alert('No active quiz for this section yet.');return;} var set=sets[sets.length-1]; if(!set.html){alert('No quiz HTML attached.');return;} openQuizWindow(set.html); } window.openQuiz=openQuiz; document.addEventListener('click',function(e){var btn=e.target.closest&&e.target.closest('.agp-take[data-sector]');if(!btn)return;e.preventDefault();openQuiz(btn.getAttribute('data-sector'));}); function tick(){var now=new Date();var ms=TIMER_HOURS*3600*1000;var epoch=new Date(2024,0,1).getTime();var intervals=Math.ceil((now.getTime()-epoch)/ms);var next=new Date(epoch+intervals*ms);var diff=Math.max(0,Math.floor((next.getTime()-now.getTime())/1000));var h=String(Math.floor(diff/3600)).padStart(2,'0');var m=String(Math.floor((diff%3600)/60)).padStart(2,'0');var s=String(diff%60).padStart(2,'0');document.querySelectorAll('.agp-timer-val').forEach(function(el){el.textContent=h+':'+m+':'+s;});} tick();setInterval(tick,1000);

Scroll to Top