Study herbs, nutrients, pathology and safety with flashcards that adapt to what you know, then test yourself with quick quizzes.
Study aid for naturopathy and nutrition students and practitioners. Health condition cases are simplified for learning and are not a substitute for proper assessment. Content is a summary; check your course materials and current references for full detail. Your progress is saved only in this browser.
'; } /* ================= DECK VIEW ================= */ function deckView(){ var d=deck; var tabs=[['study','Flashcards'],['quiz','Quiz'],['list','All cards']]; var h=''+ '
'; return; } var i=S.queue[S.pos],c=d.cards[i]; el.innerHTML='
Card '+(S.pos+1)+' of '+S.queue.length+''+(box(d.k,i)>=3?'Mastered':box(d.k,i)>0?'Learning':'New')+'
'+ ''+ (S.flipped?'': ''); var inner=el.querySelector('.fcq-inner'),faces=el.querySelectorAll('.fcq-face'); var hgt=Math.max(240,faces[0].scrollHeight,faces[1].scrollHeight);inner.style.minHeight=hgt+'px'; } function rate(ok){ var d=deck,i=S.queue[S.pos]; if(ok){setBox(d.k,i,Math.min(5,box(d.k,i)+1));S.known++} else{setBox(d.k,i,1);S.learning++;S.queue.splice(Math.min(S.queue.length,S.pos+4),0,i)} S.pos++;S.flipped=false;study(); } /* ---------- Quiz ---------- */ function makeQ(d,i){ var c=d.cards[i],rev=d.r&&Math.random()=Q.items.length){ var pct=Math.round(Q.score/Q.items.length*100),miss=Q.items.filter(function(x){return x.opts[x.pick]!==x.ans}); el.innerHTML='
'+Q.score+' / '+Q.items.length+'
'+(pct===100?'Perfect score!':pct>=80?'Great work.':pct>=50?'Good effort — review the ones you missed.':'Keep going — flashcards will help these stick.')+'
'; } /* ---------- List ---------- */ function list(){ var el=stage(); el.innerHTML='
⌕
'; renderList(); var inp=el.querySelector('#fcq-lq');inp.addEventListener('input',function(){listQ=inp.value;renderList()}); } function renderList(){ var q=listQ.toLowerCase().trim(),rows=deck.cards.filter(function(c){return !q||(c[0]+' '+c[1]).toLowerCase().indexOf(q)>-1}); root.querySelector('#fcq-list').innerHTML=rows.map(function(c){return '