Bloom’s Level to Assessment Difficulty Index
Assessment Difficulty Index
Please select a Bloom’s taxonomy level.
'; resultDiv.style.display = 'block'; return; } const difficulty = difficultyMap[levelValue]; difficultyText.innerHTML = `Bloom’s Level: ${difficulty.level}
Assessment Difficulty Index: ${difficulty.index} / 10
`; resultDiv.style.display = 'block'; }; window.downloadDifficultyPDF = function() { const levelValue = document.getElementById('bloomsLevel').value; if (!levelValue) { alert("Please select a Bloom’s taxonomy level before downloading."); return; } const difficulty = difficultyMap[levelValue]; const { jsPDF } = window.jspdf; const doc = new jsPDF(); doc.setFont("helvetica", "bold"); doc.setFontSize(16); doc.text("Bloom’s Level to Assessment Difficulty Index", 20, 20); doc.setFont("helvetica", "normal"); doc.setFontSize(12); doc.text(`Selected Bloom’s Level: ${difficulty.level}`, 20, 40); doc.text(`Assessment Difficulty Index: ${difficulty.index} / 10`, 20, 50); doc.save("Blooms_Level_Assessment_Difficulty.pdf"); }; });