{"id":5500,"date":"2026-11-23T03:58:27","date_gmt":"2026-11-23T03:58:27","guid":{"rendered":"https:\/\/apicalclasses.com\/?p=5500"},"modified":"2026-11-23T03:58:28","modified_gmt":"2026-11-23T03:58:28","slug":"class-9-science-chapter-5","status":"publish","type":"post","link":"https:\/\/apicalclasses.com\/?p=5500","title":{"rendered":"class 9 science chapter 5"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">ch5part1<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;!DOCTYPE html>\n&lt;html lang=\"en\">\n&lt;head>\n&lt;meta charset=\"UTF-8\">\n&lt;meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n&lt;title>Science Quiz \u2013 Mixtures | APICAL CLASSES&lt;\/title>\n\n&lt;style>\nbody {\n    font-family: Arial, sans-serif;\n    background: linear-gradient(135deg, #a1c4fd, #c2e9fb);\n    display: flex;\n    justify-content: center;\n    align-items: flex-start;\n    padding: 30px;\n    min-height: 100vh;\n}\n.quiz-container {\n    background: #fff;\n    padding: 25px;\n    border-radius: 12px;\n    box-shadow: 0 4px 10px rgba(0,0,0,0.2);\n    width: 90%;\n    max-width: 800px;\n}\nh2 {\n    text-align: center;\n    color: #1e3c72;\n}\n.question {\n    font-weight: bold;\n    margin: 10px 0;\n    line-height: 1.6;\n}\n.options label {\n    display: block;\n    margin: 8px 0;\n    padding: 10px;\n    border-radius: 6px;\n    border: 1px solid #ccc;\n    cursor: pointer;\n    transition: 0.3s;\n}\n.options label:hover {\n    background: #f0f0f0;\n}\n.correct {\n    background-color: #c8f7c5 !important;\n    border-color: #28a745 !important;\n}\n.wrong {\n    background-color: #f8d7da !important;\n    border-color: #dc3545 !important;\n}\n.explanation {\n    background: #e9ecef;\n    padding: 10px;\n    margin-top: 10px;\n    border-left: 5px solid #2a5298;\n    display: none;\n    line-height: 1.6;\n}\n.controls {\n    text-align: center;\n    margin-top: 15px;\n}\nbutton {\n    background-color: #2a5298;\n    color: white;\n    border: none;\n    padding: 10px 20px;\n    border-radius: 6px;\n    cursor: pointer;\n    margin: 5px;\n}\nbutton:hover {\n    background-color: #1e3c72;\n}\n#scoreboard {\n    margin-top: 25px;\n    background: #eef3f7;\n    padding: 15px;\n    border-radius: 8px;\n}\n#scoreboard h3 {\n    text-align: center;\n}\nol {\n    padding-left: 20px;\n}\n&lt;\/style>\n&lt;\/head>\n\n&lt;body>\n\n&lt;div class=\"quiz-container\">\n\n&lt;h2>\ud83e\udde0 Science Quiz \u2013 Homogeneous and Heterogeneous Mixtures&lt;\/h2>\n\n&lt;div id=\"nameSection\">\n    &lt;p>&lt;strong>Enter your name to start:&lt;\/strong>&lt;\/p>\n    &lt;input type=\"text\" id=\"userName\" placeholder=\"Your Name\">\n    &lt;button onclick=\"startQuiz()\">Start Quiz&lt;\/button>\n&lt;\/div>\n\n&lt;div id=\"quizSection\" style=\"display:none;\">\n\n    &lt;div id=\"questionContainer\">&lt;\/div>\n\n    &lt;div class=\"controls\">\n        &lt;button onclick=\"prevQuestion()\" id=\"prevBtn\">Previous&lt;\/button>\n        &lt;button onclick=\"nextQuestion()\" id=\"nextBtn\">Next&lt;\/button>\n        &lt;button onclick=\"submitQuiz()\" id=\"submitBtn\" style=\"display:none;\">Submit&lt;\/button>\n    &lt;\/div>\n\n    &lt;div id=\"result\" style=\"text-align:center; margin-top:20px;\">&lt;\/div>\n\n    &lt;div id=\"scoreboard\">\n        &lt;h3>\ud83c\udfc6 Scoreboard&lt;\/h3>\n        &lt;ol id=\"scoreList\">&lt;\/ol>\n    &lt;\/div>\n\n&lt;\/div>\n&lt;\/div>\n\n&lt;script>\n\nconst questions = &#91;\n\n{\nquestion: \"1. Sugar ko water mein dissolve karke achchhi tarah stir kiya jaye, to sugar-water mixture ko kis type ka mixture kaha jayega?\",\noptions: &#91;\n\"A. Heterogeneous mixture\",\n\"B. Homogeneous mixture\",\n\"C. Suspension\",\n\"D. Insoluble mixture\"\n],\ncorrect: 1,\nexplanation: \"Sugar water mein uniformly dissolve ho jaati hai, isliye mixture ki composition har jagah same hoti hai. Isse &lt;b>homogeneous mixture ya solution&lt;\/b> kehte hain.\"\n},\n\n{\nquestion: \"2. Ek well-stirred sugar-water solution ke first aur last sip mein sweetness same hoti hai. Is observation se kya pata chalta hai?\",\noptions: &#91;\n\"A. Sugar sirf bottom mein hai\",\n\"B. Water evaporate ho raha hai\",\n\"C. Mixture uniform hai\",\n\"D. Sugar particles visible hain\"\n],\ncorrect: 2,\nexplanation: \"Har sip mein sugar ki amount uniformly distributed hoti hai, isliye sweetness same hoti hai. Yeh &lt;b>homogeneous mixture&lt;\/b> ki property hai.\"\n},\n\n{\nquestion: \"3. Vinegar mein acetic acid water mein uniformly mixed hota hai. Vinegar kis type ka mixture hai?\",\noptions: &#91;\n\"A. Homogeneous mixture\",\n\"B. Heterogeneous mixture\",\n\"C. Suspension\",\n\"D. Pure substance\"\n],\ncorrect: 0,\nexplanation: \"Vinegar mein acetic acid aur water uniformly mixed hote hain, isliye vinegar ek &lt;b>homogeneous mixture&lt;\/b> hai.\"\n},\n\n{\nquestion: \"4. Soda mein carbon dioxide water mein mixed hoti hai. Soda ko kis category mein rakha ja sakta hai?\",\noptions: &#91;\n\"A. Heterogeneous mixture\",\n\"B. Homogeneous mixture\",\n\"C. Pure element\",\n\"D. Suspension\"\n],\ncorrect: 1,\nexplanation: \"Soda mein carbon dioxide water mein uniformly distributed hoti hai, isliye ise &lt;b>homogeneous mixture\/solution&lt;\/b> ka example maana jaata hai.\"\n},\n\n{\nquestion: \"5. Sand ko water mein stir karne par sand particles visible hote hain aur kuch time baad neeche settle ho jaate hain. Yeh mixture kya hai?\",\noptions: &#91;\n\"A. Homogeneous\",\n\"B. Pure substance\",\n\"C. Heterogeneous\",\n\"D. Solution\"\n],\ncorrect: 2,\nexplanation: \"Sand-water mixture uniform nahi hota. Sand particles visible hote hain aur settle bhi ho jaate hain, isliye yeh &lt;b>heterogeneous mixture&lt;\/b> hai.\"\n},\n\n{\nquestion: \"6. Oil aur water ko mix karke kuch time ke liye chhod diya jaye, to unki different layers ban jaati hain. Yeh mixture kis type ka hai?\",\noptions: &#91;\n\"A. Homogeneous\",\n\"B. Heterogeneous\",\n\"C. Solution\",\n\"D. Pure liquid\"\n],\ncorrect: 1,\nexplanation: \"Oil aur water uniformly mix nahi hote aur separate layers bana lete hain. Isliye yeh &lt;b>heterogeneous mixture&lt;\/b> hai.\"\n},\n\n{\nquestion: \"7. Activity 5.1 mein Group A ne 50 mL water mein ek spatula common salt add karke stir kiya. Agar salt completely dissolve ho jaye, to filtration ke baad filter paper par kya residue milega?\",\noptions: &#91;\n\"A. Salt ka visible residue\",\n\"B. Water ka residue\",\n\"C. Koi significant residue nahi\",\n\"D. Chalk powder\"\n],\ncorrect: 2,\nexplanation: \"Dissolved salt filter paper ke pores se water ke saath pass ho jaata hai. Isliye &lt;b>visible solid residue nahi bachega&lt;\/b>.\"\n},\n\n{\nquestion: \"8. Activity 5.1 mein Group B ne chalk powder ko water mein mix kiya. Chalk particles visible hain aur mixture ko undisturbed chhodne par neeche settle ho jaate hain. Yeh mixture kya hai?\",\noptions: &#91;\n\"A. Homogeneous mixture\",\n\"B. Heterogeneous mixture\",\n\"C. Pure substance\",\n\"D. Solution\"\n],\ncorrect: 1,\nexplanation: \"Chalk particles uniformly dissolved nahi hote. Woh visible hote hain aur settle bhi karte hain, isliye mixture &lt;b>heterogeneous&lt;\/b> hai.\"\n},\n\n{\nquestion: \"9. Activity 5.1 mein laser beam ko mixture ke through pass karke side se observe kiya jaata hai. Is activity ka main purpose kya hai?\",\noptions: &#91;\n\"A. Mixture ka temperature measure karna\",\n\"B. Particles ke light ke saath behaviour ko observe karna\",\n\"C. Water ko evaporate karna\",\n\"D. Mixture ka mass measure karna\"\n],\ncorrect: 1,\nexplanation: \"Laser beam ka use mixture mein particles ke presence aur unke &lt;b>light scattering behaviour&lt;\/b> ko observe karne ke liye kiya jaata hai.\"\n},\n\n{\nquestion: \"10. Activity 5.1 mein laser pointer use karte waqt students ko beam mein directly nahi dekhna chahiye. Iska reason kya hai?\",\noptions: &#91;\n\"A. Laser beam mixture ko heat kar deti hai\",\n\"B. Laser beam glass ko tod sakti hai\",\n\"C. Laser beam aankhon ko irreversible damage kar sakti hai\",\n\"D. Laser beam water ko evaporate kar deti hai\"\n],\ncorrect: 2,\nexplanation: \"Direct laser light aankhon ko seriously damage kar sakti hai, isliye &lt;b>laser beam mein directly dekhna unsafe hai&lt;\/b>.\"\n}\n\n];\n\nlet currentQuestion = 0;\nlet score = 0;\nlet userAnswers = &#91;];\nlet userName = \"\";\n\nfunction startQuiz() {\n\n    userName = document.getElementById(\"userName\").value.trim();\n\n    if (!userName) {\n        return alert(\"Please enter your name.\");\n    }\n\n    document.getElementById(\"nameSection\").style.display = \"none\";\n    document.getElementById(\"quizSection\").style.display = \"block\";\n\n    showQuestion();\n    loadScoreboard();\n}\n\nfunction showQuestion() {\n\n    const q = questions&#91;currentQuestion];\n    const container = document.getElementById(\"questionContainer\");\n\n    container.innerHTML = `\n        &lt;div class=\"question\">${q.question}&lt;\/div>\n\n        &lt;div class=\"options\">\n            ${q.options.map((opt, i) => `\n                &lt;label>\n                    &lt;input type=\"radio\" name=\"option\" value=\"${i}\"\n                    ${userAnswers&#91;currentQuestion] == i ? 'checked' : ''}>\n                    ${opt}\n                &lt;\/label>\n            `).join('')}\n        &lt;\/div>\n\n        &lt;div class=\"explanation\" id=\"explain${currentQuestion}\">\n            ${q.explanation}\n        &lt;\/div>\n    `;\n\n    document.getElementById(\"prevBtn\").style.display =\n        currentQuestion === 0 ? \"none\" : \"inline-block\";\n\n    document.getElementById(\"nextBtn\").style.display =\n        currentQuestion === questions.length - 1 ? \"none\" : \"inline-block\";\n\n    document.getElementById(\"submitBtn\").style.display =\n        currentQuestion === questions.length - 1 ? \"inline-block\" : \"none\";\n}\n\nfunction nextQuestion() {\n\n    saveAnswer();\n\n    if (currentQuestion &lt; questions.length - 1) {\n        currentQuestion++;\n        showQuestion();\n    }\n}\n\nfunction prevQuestion() {\n\n    saveAnswer();\n\n    if (currentQuestion > 0) {\n        currentQuestion--;\n        showQuestion();\n    }\n}\n\nfunction saveAnswer() {\n\n    const selected = document.querySelector('input&#91;name=\"option\"]:checked');\n\n    userAnswers&#91;currentQuestion] =\n        selected ? parseInt(selected.value) : null;\n}\n\nfunction submitQuiz() {\n\n    saveAnswer();\n\n    score = 0;\n\n    questions.forEach((q, index) => {\n        if (userAnswers&#91;index] === q.correct) {\n            score++;\n        }\n    });\n\n    showResults();\n    saveScore(userName, score);\n    loadScoreboard();\n}\n\nfunction showResults() {\n\n    const container = document.getElementById(\"questionContainer\");\n\n    container.innerHTML = \"\";\n\n    questions.forEach((q, index) => {\n\n        const selected = userAnswers&#91;index];\n        const correct = q.correct;\n\n        let optsHTML = q.options.map((opt, i) => {\n\n            let cls = \"\";\n\n            if (i === correct) {\n                cls = \"correct\";\n            }\n\n            if (selected === i &amp;&amp; selected !== correct) {\n                cls = \"wrong\";\n            }\n\n            return `&lt;label class=\"${cls}\">${opt}&lt;\/label>`;\n\n        }).join('');\n\n        container.innerHTML += `\n            &lt;div class=\"question\">${q.question}&lt;\/div>\n\n            &lt;div class=\"options\">${optsHTML}&lt;\/div>\n\n            &lt;div class=\"explanation\" style=\"display:block;\">\n                ${q.explanation}\n            &lt;\/div>\n\n            &lt;hr>\n        `;\n    });\n\n    document.querySelector(\".controls\").style.display = \"none\";\n\n    document.getElementById(\"result\").innerHTML =\n        `&lt;h3>Your Score: ${score} \/ ${questions.length}&lt;\/h3>`;\n}\n\nfunction saveScore(name, score) {\n\n    let scores = JSON.parse(localStorage.getItem(\"quizScores\")) || &#91;];\n\n    scores.push({\n        name,\n        score,\n        date: new Date().toLocaleString()\n    });\n\n    localStorage.setItem(\"quizScores\", JSON.stringify(scores));\n}\n\nfunction loadScoreboard() {\n\n    let scores = JSON.parse(localStorage.getItem(\"quizScores\")) || &#91;];\n\n    scores.sort((a, b) => b.score - a.score);\n\n    document.getElementById(\"scoreList\").innerHTML =\n        scores.map(s =>\n            `&lt;li>${s.name} - ${s.score}\/10 (${s.date})&lt;\/li>`\n        ).join('');\n}\n\n&lt;\/script>\n\n&lt;\/body>\n&lt;\/html><\/code><\/pre>\n\n\n\n<!--nextpage-->\n\n\n\n<p class=\"wp-block-paragraph\">ch5part2<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;!DOCTYPE html>\n&lt;html lang=\"en\">\n&lt;head>\n&lt;meta charset=\"UTF-8\">\n&lt;meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n&lt;title>Science Quiz \u2013 Solution and Concentration&lt;\/title>\n\n&lt;style>\nbody {\n    font-family: Arial, sans-serif;\n    background: linear-gradient(135deg, #a1c4fd, #c2e9fb);\n    display: flex;\n    justify-content: center;\n    align-items: flex-start;\n    padding: 30px;\n    min-height: 100vh;\n}\n\n.quiz-container {\n    background: #fff;\n    padding: 25px;\n    border-radius: 12px;\n    box-shadow: 0 4px 10px rgba(0,0,0,0.2);\n    width: 90%;\n    max-width: 800px;\n}\n\nh2 {\n    text-align: center;\n    color: #1e3c72;\n}\n\n.question {\n    font-weight: bold;\n    margin: 10px 0;\n    line-height: 1.6;\n}\n\n.options label {\n    display: block;\n    margin: 8px 0;\n    padding: 10px;\n    border-radius: 6px;\n    border: 1px solid #ccc;\n    cursor: pointer;\n    transition: 0.3s;\n}\n\n.options label:hover {\n    background: #f0f0f0;\n}\n\n.correct {\n    background-color: #c8f7c5 !important;\n    border-color: #28a745 !important;\n}\n\n.wrong {\n    background-color: #f8d7da !important;\n    border-color: #dc3545 !important;\n}\n\n.explanation {\n    background: #e9ecef;\n    padding: 10px;\n    margin-top: 10px;\n    border-left: 5px solid #2a5298;\n    display: none;\n    line-height: 1.6;\n}\n\n.controls {\n    text-align: center;\n    margin-top: 15px;\n}\n\nbutton {\n    background-color: #2a5298;\n    color: white;\n    border: none;\n    padding: 10px 20px;\n    border-radius: 6px;\n    cursor: pointer;\n    margin: 5px;\n}\n\nbutton:hover {\n    background-color: #1e3c72;\n}\n\n#scoreboard {\n    margin-top: 25px;\n    background: #eef3f7;\n    padding: 15px;\n    border-radius: 8px;\n}\n\n#scoreboard h3 {\n    text-align: center;\n}\n\nol {\n    padding-left: 20px;\n}\n\n#userName {\n    padding: 10px;\n    width: 90%;\n    border: 1px solid #ccc;\n    border-radius: 6px;\n    margin-bottom: 10px;\n}\n&lt;\/style>\n&lt;\/head>\n\n&lt;body>\n\n&lt;div class=\"quiz-container\">\n\n&lt;h2>\ud83e\udde0 APICAL CLASSES \u2013 Science Quiz&lt;br>Solution and Concentration&lt;\/h2>\n\n&lt;div id=\"nameSection\">\n    &lt;p>&lt;strong>Enter your name to start:&lt;\/strong>&lt;\/p>\n    &lt;input type=\"text\" id=\"userName\" placeholder=\"Your Name\">\n    &lt;button onclick=\"startQuiz()\">Start Quiz&lt;\/button>\n&lt;\/div>\n\n&lt;div id=\"quizSection\" style=\"display:none;\">\n\n    &lt;div id=\"questionContainer\">&lt;\/div>\n\n    &lt;div class=\"controls\">\n        &lt;button onclick=\"prevQuestion()\" id=\"prevBtn\">Previous&lt;\/button>\n        &lt;button onclick=\"nextQuestion()\" id=\"nextBtn\">Next&lt;\/button>\n        &lt;button onclick=\"submitQuiz()\" id=\"submitBtn\" style=\"display:none;\">Submit&lt;\/button>\n    &lt;\/div>\n\n    &lt;div id=\"result\" style=\"text-align:center; margin-top:20px;\">&lt;\/div>\n\n    &lt;div id=\"scoreboard\">\n        &lt;h3>\ud83c\udfc6 Scoreboard&lt;\/h3>\n        &lt;ol id=\"scoreList\">&lt;\/ol>\n    &lt;\/div>\n\n&lt;\/div>\n&lt;\/div>\n\n&lt;script>\n\nconst questions = &#91;\n\n{\nquestion: \"1. Solution mein woh substance jo dissolve hota hai, use kya kehte hain?\",\noptions: &#91;\n\"A. Solvent\",\n\"B. Solute\",\n\"C. Residue\",\n\"D. Filtrate\"\n],\ncorrect: 1,\nexplanation: \"Jo substance kisi solvent mein dissolve hota hai, usse Solute kehte hain. Example: Sugar-water solution mein sugar solute hai.\"\n},\n\n{\nquestion: \"2. Sugar aur water se bane solution mein solvent kaun hai?\",\noptions: &#91;\n\"A. Sugar\",\n\"B. Water\",\n\"C. Sugar aur water dono\",\n\"D. Koi nahi\"\n],\ncorrect: 1,\nexplanation: \"Solvent woh substance hota hai jo solute ko dissolve karta hai. Sugar-water solution mein water, sugar ko dissolve karta hai.\"\n},\n\n{\nquestion: \"3. Solution ki concentration ka kya meaning hai?\",\noptions: &#91;\n\"A. Solution ka colour\",\n\"B. Solute ka melting point\",\n\"C. Given amount of solvent ya solution mein dissolved solute ki amount\",\n\"D. Solvent ka boiling point\"\n],\ncorrect: 2,\nexplanation: \"Concentration batati hai ki given amount of solvent ya solution mein kitna solute dissolved hai.\"\n},\n\n{\nquestion: \"4. ORS prepare karte waqt salt aur sugar ko fixed amount of water mein specified quantity mein add karna zaroori kyun hai?\",\noptions: &#91;\n\"A. Solution ka colour change karne ke liye\",\n\"B. Correct concentration maintain karne ke liye\",\n\"C. Water ko evaporate karne ke liye\",\n\"D. Sugar ko solid banane ke liye\"\n],\ncorrect: 1,\nexplanation: \"ORS mein salt, sugar aur water ka proper proportion hona zaroori hai. Amount change karne par solution proper ORS nahi rahega.\"\n},\n\n{\nquestion: \"5. Agar ORS banate waqt same amount of water mein required quantity se bahut zyada salt aur sugar add kar di jaye, to kya problem ho sakti hai?\",\noptions: &#91;\n\"A. ORS ki concentration change ho jayegi\",\n\"B. Solution automatically pure water ban jayega\",\n\"C. Sugar dissolve hona band kar degi\",\n\"D. Water solvent nahi rahega\"\n],\ncorrect: 0,\nexplanation: \"Solute ki amount badalne se concentration change ho jaati hai. Isliye ORS mein specified quantities follow karna important hai.\"\n},\n\n{\nquestion: \"6. Farmers pesticides ko crops par spray karte waqt pesticide aur water ka correct proportion kyun rakhte hain?\",\noptions: &#91;\n\"A. Pesticide ka colour same rakhne ke liye\",\n\"B. Crop protection ke liye suitable concentration maintain karne ke liye\",\n\"C. Water ko remove karne ke liye\",\n\"D. Soil ko dry karne ke liye\"\n],\ncorrect: 1,\nexplanation: \"Too little pesticide crops ko protect nahi karega, jabki too much pesticide crops, soil aur environment ko damage kar sakta hai.\"\n},\n\n{\nquestion: \"7. Agar pesticide solution mein pesticide ki quantity bahut kam ho, to kya ho sakta hai?\",\noptions: &#91;\n\"A. Crops ko sufficient protection nahi milega\",\n\"B. Crops instantly grow karenge\",\n\"C. Soil automatically fertile ho jayegi\",\n\"D. Water solvent nahi rahega\"\n],\ncorrect: 0,\nexplanation: \"Pesticide bahut kam hone par solution ki concentration insufficient ho sakti hai aur crops ko proper protection nahi milega.\"\n},\n\n{\nquestion: \"8. Agar same amount of solute ko dissolve karne ke liye solvent ki quantity badha di jaye, to solution ki concentration par kya effect padega?\",\noptions: &#91;\n\"A. Concentration generally decrease hogi\",\n\"B. Concentration always double hogi\",\n\"C. Concentration unchanged rahegi\",\n\"D. Concentration zero ho jayegi\"\n],\ncorrect: 0,\nexplanation: \"Same solute ko larger amount of solvent mein distribute karne par solution more dilute ho jaata hai, isliye concentration decrease hoti hai.\"\n},\n\n{\nquestion: \"9. Concentration ko express karne ke liye chapter mein kaunsi common method discuss ki gayi hai?\",\noptions: &#91;\n\"A. Percentage\",\n\"B. Temperature\",\n\"C. Density only\",\n\"D. Pressure\"\n],\ncorrect: 0,\nexplanation: \"Solution ki concentration ko different ways se express kiya ja sakta hai. Is section mein percentage concentration ko common method ke roop mein discuss kiya gaya hai.\"\n},\n\n{\nquestion: \"10. Neeche diye gaye examples mein concentration ka correct proportion maintain karna sabse important kyun hai?\",\noptions: &#91;\n\"A. Sirf solution ka appearance improve karne ke liye\",\n\"B. Solution ko desired purpose ke liye suitable banane ke liye\",\n\"C. Solvent ko solute mein convert karne ke liye\",\n\"D. Mixture ko heterogeneous banane ke liye\"\n],\ncorrect: 1,\nexplanation: \"ORS, medicines, pesticides, food aur cosmetics jaise examples mein correct concentration zaroori hoti hai, kyunki wrong concentration se desired result nahi milega ya harm ho sakta hai.\"\n}\n\n];\n\nlet currentQuestion = 0;\nlet score = 0;\nlet userAnswers = &#91;];\nlet userName = \"\";\n\nfunction startQuiz() {\n\n    userName = document.getElementById(\"userName\").value.trim();\n\n    if (!userName) {\n        alert(\"Please enter your name.\");\n        return;\n    }\n\n    document.getElementById(\"nameSection\").style.display = \"none\";\n    document.getElementById(\"quizSection\").style.display = \"block\";\n\n    showQuestion();\n    loadScoreboard();\n}\n\nfunction showQuestion() {\n\n    const q = questions&#91;currentQuestion];\n    const container = document.getElementById(\"questionContainer\");\n\n    container.innerHTML = `\n        &lt;div class=\"question\">${q.question}&lt;\/div>\n\n        &lt;div class=\"options\">\n            ${q.options.map((opt, i) => `\n                &lt;label>\n                    &lt;input type=\"radio\" name=\"option\" value=\"${i}\"\n                    ${userAnswers&#91;currentQuestion] == i ? 'checked' : ''}>\n                    ${opt}\n                &lt;\/label>\n            `).join('')}\n        &lt;\/div>\n\n        &lt;div class=\"explanation\" id=\"explain${currentQuestion}\">\n            ${q.explanation}\n        &lt;\/div>\n    `;\n\n    document.getElementById(\"prevBtn\").style.display =\n        currentQuestion === 0 ? \"none\" : \"inline-block\";\n\n    document.getElementById(\"nextBtn\").style.display =\n        currentQuestion === questions.length - 1 ? \"none\" : \"inline-block\";\n\n    document.getElementById(\"submitBtn\").style.display =\n        currentQuestion === questions.length - 1 ? \"inline-block\" : \"none\";\n}\n\nfunction saveAnswer() {\n\n    const selected = document.querySelector('input&#91;name=\"option\"]:checked');\n\n    userAnswers&#91;currentQuestion] = selected\n        ? parseInt(selected.value)\n        : null;\n}\n\nfunction nextQuestion() {\n\n    saveAnswer();\n\n    if (currentQuestion &lt; questions.length - 1) {\n        currentQuestion++;\n        showQuestion();\n    }\n}\n\nfunction prevQuestion() {\n\n    saveAnswer();\n\n    if (currentQuestion > 0) {\n        currentQuestion--;\n        showQuestion();\n    }\n}\n\nfunction submitQuiz() {\n\n    saveAnswer();\n\n    score = 0;\n\n    questions.forEach((q, index) => {\n        if (userAnswers&#91;index] === q.correct) {\n            score++;\n        }\n    });\n\n    showResults();\n    saveScore(userName, score);\n    loadScoreboard();\n}\n\nfunction showResults() {\n\n    const container = document.getElementById(\"questionContainer\");\n\n    container.innerHTML = \"\";\n\n    questions.forEach((q, index) => {\n\n        const selected = userAnswers&#91;index];\n        const correct = q.correct;\n\n        let optsHTML = q.options.map((opt, i) => {\n\n            let cls = \"\";\n\n            if (i === correct) cls = \"correct\";\n\n            if (selected === i &amp;&amp; selected !== correct) {\n                cls = \"wrong\";\n            }\n\n            return `&lt;label class=\"${cls}\">${opt}&lt;\/label>`;\n\n        }).join('');\n\n        container.innerHTML += `\n            &lt;div class=\"question\">${q.question}&lt;\/div>\n\n            &lt;div class=\"options\">\n                ${optsHTML}\n            &lt;\/div>\n\n            &lt;div class=\"explanation\" style=\"display:block;\">\n                &lt;strong>Explanation:&lt;\/strong> ${q.explanation}\n            &lt;\/div>\n\n            &lt;hr>\n        `;\n    });\n\n    document.querySelector(\".controls\").style.display = \"none\";\n\n    document.getElementById(\"result\").innerHTML = `\n        &lt;h3>Your Score: ${score} \/ ${questions.length}&lt;\/h3>\n        &lt;p>&lt;strong>Student Name:&lt;\/strong> ${escapeHTML(userName)}&lt;\/p>\n        &lt;p>${score >= 8 ? \"Excellent Performance! \ud83c\udf89\" :\n             score >= 5 ? \"Good Attempt! Keep Practicing.\" :\n             \"Keep Learning and Try Again!\"}&lt;\/p>\n    `;\n}\n\nfunction escapeHTML(value) {\n    return value.replace(\/&#91;&amp;&lt;>\"']\/g, char => ({\n        '&amp;': '&amp;amp;',\n        '&lt;': '&amp;lt;',\n        '>': '&amp;gt;',\n        '\"': '&amp;quot;',\n        \"'\": '&amp;#39;'\n    })&#91;char]);\n}\n\nfunction saveScore(name, score) {\n\n    let scores = JSON.parse(localStorage.getItem(\"quizScores\")) || &#91;];\n\n    scores.push({\n        name: name,\n        score: score,\n        date: new Date().toLocaleString()\n    });\n\n    localStorage.setItem(\"quizScores\", JSON.stringify(scores));\n}\n\nfunction loadScoreboard() {\n\n    let scores = JSON.parse(localStorage.getItem(\"quizScores\")) || &#91;];\n\n    scores.sort((a, b) => b.score - a.score);\n\n    document.getElementById(\"scoreList\").innerHTML =\n        scores.map(s => `\n            &lt;li>${escapeHTML(s.name)} - ${s.score}\/10 (${escapeHTML(s.date)})&lt;\/li>\n        `).join('');\n}\n\n&lt;\/script>\n\n&lt;\/body>\n&lt;\/html><\/code><\/pre>\n\n\n\n<!--nextpage-->\n\n\n\n<p class=\"wp-block-paragraph\">ch5part3<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;!DOCTYPE html>\n&lt;html lang=\"en\">\n&lt;head>\n&lt;title>\ud83e\udde0 Science Quiz \u2013 Concentration of Solutions&lt;\/title>\n&lt;style>\nbody {\n    font-family: Arial, sans-serif;\n    background: linear-gradient(135deg, #a1c4fd, #c2e9fb);\n    display: flex;\n    justify-content: center;\n    align-items: flex-start;\n    padding: 30px;\n    min-height: 100vh;\n}\n.quiz-container {\n    background: #fff;\n    padding: 25px;\n    border-radius: 12px;\n    box-shadow: 0 4px 10px rgba(0,0,0,0.2);\n    width: 90%;\n    max-width: 800px;\n}\nh2 {\n    text-align: center;\n    color: #1e3c72;\n}\n.question {\n    font-weight: bold;\n    margin: 10px 0;\n    line-height: 1.6;\n}\n.options label {\n    display: block;\n    margin: 8px 0;\n    padding: 10px;\n    border-radius: 6px;\n    border: 1px solid #ccc;\n    cursor: pointer;\n    transition: 0.3s;\n}\n.options label:hover {\n    background: #f0f0f0;\n}\n.correct {\n    background-color: #c8f7c5 !important;\n    border-color: #28a745 !important;\n}\n.wrong {\n    background-color: #f8d7da !important;\n    border-color: #dc3545 !important;\n}\n.explanation {\n    background: #e9ecef;\n    padding: 10px;\n    margin-top: 10px;\n    border-left: 5px solid #2a5298;\n    display: none;\n    line-height: 1.6;\n}\n.controls {\n    text-align: center;\n    margin-top: 15px;\n}\nbutton {\n    background-color: #2a5298;\n    color: white;\n    border: none;\n    padding: 10px 20px;\n    border-radius: 6px;\n    cursor: pointer;\n    margin: 5px;\n}\nbutton:hover {\n    background-color: #1e3c72;\n}\n#scoreboard {\n    margin-top: 25px;\n    background: #eef3f7;\n    padding: 15px;\n    border-radius: 8px;\n}\n#scoreboard h3 {\n    text-align: center;\n}\nol {\n    padding-left: 20px;\n}\n&lt;\/style>\n&lt;\/head>\n\n&lt;body>\n\n&lt;div class=\"quiz-container\">\n\n&lt;h2>\ud83e\udde0 Science Quiz \u2013 Concentration of Solutions&lt;\/h2>\n\n&lt;div id=\"nameSection\">\n    &lt;p>&lt;strong>Enter your name to start:&lt;\/strong>&lt;\/p>\n    &lt;input type=\"text\" id=\"userName\" placeholder=\"Your Name\">\n    &lt;button onclick=\"startQuiz()\">Start Quiz&lt;\/button>\n&lt;\/div>\n\n&lt;div id=\"quizSection\" style=\"display:none;\">\n\n    &lt;div id=\"questionContainer\">&lt;\/div>\n\n    &lt;div class=\"controls\">\n        &lt;button onclick=\"prevQuestion()\" id=\"prevBtn\">Previous&lt;\/button>\n        &lt;button onclick=\"nextQuestion()\" id=\"nextBtn\">Next&lt;\/button>\n        &lt;button onclick=\"submitQuiz()\" id=\"submitBtn\" style=\"display:none;\">Submit&lt;\/button>\n    &lt;\/div>\n\n    &lt;div id=\"result\" style=\"text-align:center; margin-top:20px;\">&lt;\/div>\n\n    &lt;div id=\"scoreboard\">\n        &lt;h3>\ud83c\udfc6 Scoreboard&lt;\/h3>\n        &lt;ol id=\"scoreList\">&lt;\/ol>\n    &lt;\/div>\n\n&lt;\/div>\n&lt;\/div>\n\n&lt;script>\n\nconst questions = &#91;\n\n{\nquestion: \"1. Mass by mass percentage (% m\/m or % w\/w) batata hai ki 100 g total solution mein kitne grams solute present hain. Is statement ke according correct formula kaunsa hai?\",\noptions: &#91;\n\"A. (Mass of solvent \/ Mass of solution) \u00d7 100\",\n\"B. (Mass of solute \/ Mass of solution) \u00d7 100\",\n\"C. (Mass of solution \/ Mass of solute) \u00d7 100\",\n\"D. (Mass of solute \/ Mass of solvent) \u00d7 100\"\n],\ncorrect: 1,\nexplanation: \"\u2705 Correct: Option B.&lt;br>Mass by mass percentage mein solute ki mass ko total solution ki mass se divide karke 100 se multiply karte hain.&lt;br>&lt;br>&lt;b>Formula:&lt;\/b> % m\/m = (Mass of solute \/ Mass of solution) \u00d7 100\"\n},\n\n{\nquestion: \"2. 10 g salt ko 90 g water mein dissolve kiya gaya. Total solution ki mass kitni hogi?\",\noptions: &#91;\n\"A. 90 g\",\n\"B. 95 g\",\n\"C. 100 g\",\n\"D. 110 g\"\n],\ncorrect: 2,\nexplanation: \"\u2705 Correct: Option C.&lt;br>Total mass = Mass of solute + Mass of solvent&lt;br>= 10 + 90 = &lt;b>100 g&lt;\/b>.\"\n},\n\n{\nquestion: \"3. 10 g salt ko 90 g water mein dissolve karne par mass by mass percentage kya hogi?\",\noptions: &#91;\n\"A. 5%\",\n\"B. 10%\",\n\"C. 20%\",\n\"D. 90%\"\n],\ncorrect: 1,\nexplanation: \"\u2705 Correct: Option B.&lt;br>Total solution mass = 10 + 90 = 100 g.&lt;br>% m\/m = (10 \/ 100) \u00d7 100 = &lt;b>10%&lt;\/b>.\"\n},\n\n{\nquestion: \"4. Packaged food par salt, sugar ya protein ki composition ko show karne ke liye kaunsi concentration method commonly useful hai?\",\noptions: &#91;\n\"A. Mass by mass percentage\",\n\"B. Mass by volume percentage only\",\n\"C. Volume by volume percentage only\",\n\"D. Temperature percentage\"\n],\ncorrect: 0,\nexplanation: \"\u2705 Correct: Option A.&lt;br>Packaged foods mein composition ko often &lt;b>% m\/m ya % w\/w&lt;\/b> ke form mein show kiya ja sakta hai.\"\n},\n\n{\nquestion: \"5. Mass by volume percentage (% m\/v or % w\/v) ka matlab kya hai?\",\noptions: &#91;\n\"A. 100 g solution mein solute ke grams\",\n\"B. 100 mL solution mein solute ke grams\",\n\"C. 100 mL solvent mein solvent ke grams\",\n\"D. 100 g solvent mein solute ke millilitres\"\n],\ncorrect: 1,\nexplanation: \"\u2705 Correct: Option B.&lt;br>% m\/v batata hai ki &lt;b>100 mL total solution mein kitne grams solute&lt;\/b> present hain.&lt;br>&lt;br>Formula: % m\/v = (Mass of solute in g \/ Volume of solution in mL) \u00d7 100\"\n},\n\n{\nquestion: \"6. 5 g glucose ko water mein dissolve karke exactly 100 mL solution banaya gaya. Is solution ki mass by volume percentage kya hogi?\",\noptions: &#91;\n\"A. 2%\",\n\"B. 5%\",\n\"C. 10%\",\n\"D. 20%\"\n],\ncorrect: 1,\nexplanation: \"\u2705 Correct: Option B.&lt;br>% m\/v = (Mass of solute \/ Volume of solution) \u00d7 100&lt;br>= (5 \/ 100) \u00d7 100 = &lt;b>5%&lt;\/b>.&lt;br>Isliye ise 5% glucose solution kaha jaata hai.\"\n},\n\n{\nquestion: \"7. Mass by volume percentage method medicines aur laboratories mein useful kyun hai?\",\noptions: &#91;\n\"A. Kyunki liquids ka volume measure karna convenient ho sakta hai\",\n\"B. Kyunki solute ki mass measure nahi ki ja sakti\",\n\"C. Kyunki ismein solvent ki zaroorat nahi hoti\",\n\"D. Kyunki solution hamesha heterogeneous hota hai\"\n],\ncorrect: 0,\nexplanation: \"\u2705 Correct: Option A.&lt;br>Medicines aur laboratories mein kai situations mein &lt;b>liquid ka volume measure karna weighing se easier&lt;\/b> hota hai.\"\n},\n\n{\nquestion: \"8. Volume by volume percentage (% v\/v) kis situation mein commonly use ki jaati hai?\",\noptions: &#91;\n\"A. Solid ko water mein dissolve karte waqt\",\n\"B. Do miscible liquids ko mix karte waqt\",\n\"C. Sand aur water ko mix karte waqt\",\n\"D. Salt aur solid sugar ko mix karte waqt\"\n],\ncorrect: 1,\nexplanation: \"\u2705 Correct: Option B.&lt;br>% v\/v ka use &lt;b>do miscible liquids&lt;\/b> ke mixtures mein hota hai, jaise perfumes, cosmetics aur vinegar.\"\n},\n\n{\nquestion: \"9. Volume by volume percentage ka meaning kya hai?\",\noptions: &#91;\n\"A. 100 g solution mein solute ke millilitres\",\n\"B. 100 mL solution mein solute ke millilitres\",\n\"C. 100 mL solvent mein solute ke grams\",\n\"D. 100 g solvent mein solute ke grams\"\n],\ncorrect: 1,\nexplanation: \"\u2705 Correct: Option B.&lt;br>% v\/v batata hai ki &lt;b>100 mL total solution mein kitne mL solute&lt;\/b> present hain.&lt;br>&lt;br>Formula: % v\/v = (Volume of solute \/ Volume of solution) \u00d7 100\"\n},\n\n{\nquestion: \"10. Agar kisi perfume solution mein 100 mL total solution mein 20 mL liquid solute present hai, to volume by volume percentage kya hogi?\",\noptions: &#91;\n\"A. 5%\",\n\"B. 10%\",\n\"C. 20%\",\n\"D. 80%\"\n],\ncorrect: 2,\nexplanation: \"\u2705 Correct: Option C.&lt;br>% v\/v = (Volume of solute \/ Volume of solution) \u00d7 100&lt;br>= (20 \/ 100) \u00d7 100 = &lt;b>20%&lt;\/b>.\"\n}\n\n];\n\nlet currentQuestion = 0;\nlet score = 0;\nlet userAnswers = &#91;];\nlet userName = \"\";\n\nfunction startQuiz() {\n\n    userName = document.getElementById(\"userName\").value.trim();\n\n    if (!userName) {\n        return alert(\"Please enter your name.\");\n    }\n\n    document.getElementById(\"nameSection\").style.display = \"none\";\n    document.getElementById(\"quizSection\").style.display = \"block\";\n\n    showQuestion();\n    loadScoreboard();\n}\n\nfunction showQuestion() {\n\n    const q = questions&#91;currentQuestion];\n    const container = document.getElementById(\"questionContainer\");\n\n    container.innerHTML = `\n        &lt;div class=\"question\">${q.question}&lt;\/div>\n\n        &lt;div class=\"options\">\n            ${q.options.map((opt, i) => `\n                &lt;label>\n                    &lt;input type=\"radio\" name=\"option\" value=\"${i}\"\n                    ${userAnswers&#91;currentQuestion] == i ? 'checked' : ''}>\n                    ${opt}\n                &lt;\/label>\n            `).join('')}\n        &lt;\/div>\n\n        &lt;div class=\"explanation\" id=\"explain${currentQuestion}\">\n            ${q.explanation}\n        &lt;\/div>\n    `;\n\n    document.getElementById(\"prevBtn\").style.display =\n        currentQuestion === 0 ? \"none\" : \"inline-block\";\n\n    document.getElementById(\"nextBtn\").style.display =\n        currentQuestion === questions.length - 1 ? \"none\" : \"inline-block\";\n\n    document.getElementById(\"submitBtn\").style.display =\n        currentQuestion === questions.length - 1 ? \"inline-block\" : \"none\";\n}\n\nfunction nextQuestion() {\n\n    saveAnswer();\n\n    if (currentQuestion &lt; questions.length - 1) {\n        currentQuestion++;\n        showQuestion();\n    }\n}\n\nfunction prevQuestion() {\n\n    saveAnswer();\n\n    if (currentQuestion > 0) {\n        currentQuestion--;\n        showQuestion();\n    }\n}\n\nfunction saveAnswer() {\n\n    const selected = document.querySelector('input&#91;name=\"option\"]:checked');\n\n    userAnswers&#91;currentQuestion] = selected ? parseInt(selected.value) : null;\n}\n\nfunction submitQuiz() {\n\n    saveAnswer();\n\n    score = 0;\n\n    questions.forEach((q, index) => {\n        if (userAnswers&#91;index] === q.correct) {\n            score++;\n        }\n    });\n\n    showResults();\n    saveScore(userName, score);\n    loadScoreboard();\n}\n\nfunction showResults() {\n\n    const container = document.getElementById(\"questionContainer\");\n\n    container.innerHTML = \"\";\n\n    questions.forEach((q, index) => {\n\n        const selected = userAnswers&#91;index];\n        const correct = q.correct;\n\n        let optsHTML = q.options.map((opt, i) => {\n\n            let cls = \"\";\n\n            if (i === correct) cls = \"correct\";\n\n            if (selected === i &amp;&amp; selected !== correct) {\n                cls = \"wrong\";\n            }\n\n            return `&lt;label class=\"${cls}\">${opt}&lt;\/label>`;\n\n        }).join('');\n\n        container.innerHTML += `\n            &lt;div class=\"question\">${q.question}&lt;\/div>\n            &lt;div class=\"options\">${optsHTML}&lt;\/div>\n            &lt;div class=\"explanation\" style=\"display:block;\">\n                ${q.explanation}\n                ${selected === null || selected === undefined\n                    ? \"&lt;br>&lt;b>Your answer: Not attempted&lt;\/b>\"\n                    : \"\"}\n            &lt;\/div>\n            &lt;hr>\n        `;\n    });\n\n    document.querySelector(\".controls\").style.display = \"none\";\n\n    document.getElementById(\"result\").innerHTML = `\n        &lt;h3>Your Score: ${score} \/ ${questions.length}&lt;\/h3>\n        &lt;p>&lt;b>Percentage:&lt;\/b> ${(score \/ questions.length) * 100}%&lt;\/p>\n    `;\n}\n\nfunction saveScore(name, score) {\n\n    let scores = JSON.parse(localStorage.getItem(\"quizScores\")) || &#91;];\n\n    scores.push({\n        name,\n        score,\n        date: new Date().toLocaleString()\n    });\n\n    localStorage.setItem(\"quizScores\", JSON.stringify(scores));\n}\n\nfunction loadScoreboard() {\n\n    let scores = JSON.parse(localStorage.getItem(\"quizScores\")) || &#91;];\n\n    scores.sort((a, b) => b.score - a.score);\n\n    document.getElementById(\"scoreList\").innerHTML =\n        scores.map(s => `\n            &lt;li>${s.name} - ${s.score}\/10 (${s.date})&lt;\/li>\n        `).join('');\n}\n\n&lt;\/script>\n\n&lt;\/body>\n&lt;\/html><\/code><\/pre>\n\n\n\n<!--nextpage-->\n\n\n\n<p class=\"wp-block-paragraph\">ch5part4<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;!DOCTYPE html>\n&lt;html lang=\"en\">\n&lt;head>\n&lt;meta charset=\"UTF-8\">\n&lt;meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n&lt;title>Science Quiz \u2013 Concentration and Solubility&lt;\/title>\n\n&lt;style>\nbody {\n    font-family: Arial, sans-serif;\n    background: linear-gradient(135deg, #a1c4fd, #c2e9fb);\n    display: flex;\n    justify-content: center;\n    align-items: flex-start;\n    padding: 30px;\n    min-height: 100vh;\n}\n\n.quiz-container {\n    background: #fff;\n    padding: 25px;\n    border-radius: 12px;\n    box-shadow: 0 4px 10px rgba(0,0,0,0.2);\n    width: 90%;\n    max-width: 800px;\n}\n\nh2 {\n    text-align: center;\n    color: #1e3c72;\n}\n\n.question {\n    font-weight: bold;\n    margin: 10px 0;\n    line-height: 1.6;\n}\n\n.options label {\n    display: block;\n    margin: 8px 0;\n    padding: 10px;\n    border-radius: 6px;\n    border: 1px solid #ccc;\n    cursor: pointer;\n    transition: 0.3s;\n}\n\n.options label:hover {\n    background: #f0f0f0;\n}\n\n.correct {\n    background-color: #c8f7c5 !important;\n    border-color: #28a745 !important;\n}\n\n.wrong {\n    background-color: #f8d7da !important;\n    border-color: #dc3545 !important;\n}\n\n.explanation {\n    background: #e9ecef;\n    padding: 10px;\n    margin-top: 10px;\n    border-left: 5px solid #2a5298;\n    display: none;\n    line-height: 1.6;\n}\n\n.controls {\n    text-align: center;\n    margin-top: 15px;\n}\n\nbutton {\n    background-color: #2a5298;\n    color: white;\n    border: none;\n    padding: 10px 20px;\n    border-radius: 6px;\n    cursor: pointer;\n    margin: 5px;\n}\n\nbutton:hover {\n    background-color: #1e3c72;\n}\n\n#scoreboard {\n    margin-top: 25px;\n    background: #eef3f7;\n    padding: 15px;\n    border-radius: 8px;\n}\n\n#scoreboard h3 {\n    text-align: center;\n}\n\nol {\n    padding-left: 20px;\n}\n\n#userName {\n    padding: 10px;\n    width: 90%;\n    border: 1px solid #ccc;\n    border-radius: 6px;\n    margin-bottom: 10px;\n}\n&lt;\/style>\n&lt;\/head>\n\n&lt;body>\n\n&lt;div class=\"quiz-container\">\n\n&lt;h2>\ud83e\udde0 Science Quiz \u2013 Concentration and Solubility&lt;\/h2>\n\n&lt;div id=\"nameSection\">\n    &lt;p>&lt;strong>Enter your name to start:&lt;\/strong>&lt;\/p>\n    &lt;input type=\"text\" id=\"userName\" placeholder=\"Your Name\">\n    &lt;button onclick=\"startQuiz()\">Start Quiz&lt;\/button>\n&lt;\/div>\n\n&lt;div id=\"quizSection\" style=\"display:none;\">\n\n    &lt;div id=\"questionContainer\">&lt;\/div>\n\n    &lt;div class=\"controls\">\n        &lt;button onclick=\"prevQuestion()\" id=\"prevBtn\">Previous&lt;\/button>\n        &lt;button onclick=\"nextQuestion()\" id=\"nextBtn\">Next&lt;\/button>\n        &lt;button onclick=\"submitQuiz()\" id=\"submitBtn\" style=\"display:none;\">Submit&lt;\/button>\n    &lt;\/div>\n\n    &lt;div id=\"result\" style=\"text-align:center; margin-top:20px;\">&lt;\/div>\n\n    &lt;div id=\"scoreboard\">\n        &lt;h3>\ud83c\udfc6 Scoreboard&lt;\/h3>\n        &lt;ol id=\"scoreList\">&lt;\/ol>\n    &lt;\/div>\n\n&lt;\/div>\n&lt;\/div>\n\n&lt;script>\n\nconst questions = &#91;\n\n{\nquestion: \"1. 1 mL liquid pesticide ko sufficient water ke saath mix karke 100 mL pesticide spray banaya gaya. Is spray ki volume by volume percentage kya hogi?\",\noptions: &#91;\n\"A. 0.1%\",\n\"B. 1%\",\n\"C. 10%\",\n\"D. 100%\"\n],\ncorrect: 1,\nexplanation: \"Formula: % v\/v = (Volume of solute \/ Volume of solution) \u00d7 100.&lt;br>&lt;br>= (1\/100) \u00d7 100 = &lt;b>1%&lt;\/b>.&lt;br>&lt;br>Isliye correct answer B hai.\"\n},\n\n{\nquestion: \"2. Industries mein % w\/w ko commonly use kiya jaata hai. % w\/w aur % m\/m ke numerical values ke baare mein kya correct hai?\",\noptions: &#91;\n\"A. Dono hamesha different hote hain\",\n\"B. % w\/w ka value hamesha double hota hai\",\n\"C. Dono numerically equal hote hain\",\n\"D. % w\/w sirf liquids ke liye hota hai\"\n],\ncorrect: 2,\nexplanation: \"Industry mein weight aur mass ko generally interchangeably use kiya jaata hai. Isliye &lt;b>% w\/w aur % m\/m numerically equal&lt;\/b> hote hain.\"\n},\n\n{\nquestion: \"3. Talcum powder mein 4% m\/m zinc oxide hai. 300 g talcum powder mein zinc oxide ki mass kitni hogi?\",\noptions: &#91;\n\"A. 4 g\",\n\"B. 8 g\",\n\"C. 12 g\",\n\"D. 16 g\"\n],\ncorrect: 2,\nexplanation: \"Zinc oxide = 4% of 300 g.&lt;br>&lt;br>= (4\/100) \u00d7 300&lt;br>&lt;br>= &lt;b>12 g&lt;\/b>.&lt;br>&lt;br>Isliye correct answer C hai.\"\n},\n\n{\nquestion: \"4. Orange juice concentrate ki ek tablespoon 15 mL ki hai. Agar 2 tablespoons concentrate ko water ke saath mix karke total 150 mL juice banaya gaya, to % v\/v concentrate kitna hoga?\",\noptions: &#91;\n\"A. 10%\",\n\"B. 15%\",\n\"C. 20%\",\n\"D. 30%\"\n],\ncorrect: 2,\nexplanation: \"Concentrate ka volume = 2 \u00d7 15 = 30 mL.&lt;br>&lt;br>Formula: % v\/v = (Volume of solute \/ Volume of solution) \u00d7 100.&lt;br>&lt;br>= (30\/150) \u00d7 100 = &lt;b>20%&lt;\/b>.\"\n},\n\n{\nquestion: \"5. Vinegar mein 5% v\/v acetic acid hai. 100 mL vinegar banane ke liye kitna glacial acetic acid required hoga, agar glacial acetic acid 100% acetic acid hai?\",\noptions: &#91;\n\"A. 2 mL\",\n\"B. 5 mL\",\n\"C. 10 mL\",\n\"D. 20 mL\"\n],\ncorrect: 1,\nexplanation: \"5% v\/v ka matlab hai 100 mL solution mein 5 mL acetic acid present hai.&lt;br>&lt;br>Isliye 5 mL glacial acetic acid lekar water add karke total volume 100 mL kiya jaayega.&lt;br>&lt;br>Correct answer = &lt;b>5 mL&lt;\/b>.\"\n},\n\n{\nquestion: \"6. Kisi fixed quantity of solvent mein given temperature par maximum amount of solute jo dissolve ho sakta hai, use kya kehte hain?\",\noptions: &#91;\n\"A. Concentration\",\n\"B. Density\",\n\"C. Solubility\",\n\"D. Saturation point\"\n],\ncorrect: 2,\nexplanation: \"Given temperature par fixed quantity of solvent mein dissolve hone wale &lt;b>maximum amount of solute&lt;\/b> ko solubility kehte hain.\"\n},\n\n{\nquestion: \"7. Ek solution mein given temperature par aur solute dissolve nahi ho sakta. Aise solution ko kya kehte hain?\",\noptions: &#91;\n\"A. Dilute solution\",\n\"B. Unsaturated solution\",\n\"C. Saturated solution\",\n\"D. Heterogeneous solution\"\n],\ncorrect: 2,\nexplanation: \"Jab given temperature par solution aur solute dissolve nahi kar sakta, to use &lt;b>Saturated Solution&lt;\/b> kehte hain.\"\n},\n\n{\nquestion: \"8. Solid solute ki liquid solvent mein solubility generally temperature badhne par kya hoti hai?\",\noptions: &#91;\n\"A. Increase hoti hai\",\n\"B. Decrease hoti hai\",\n\"C. Hamesha zero ho jaati hai\",\n\"D. Change nahi hoti\"\n],\ncorrect: 0,\nexplanation: \"Generally, temperature increase karne par &lt;b>solid solutes ki liquids mein solubility increase&lt;\/b> hoti hai. However, kuch exceptions bhi hote hain.\"\n},\n\n{\nquestion: \"9. Gases ki liquids mein solubility generally temperature badhne par kya hoti hai?\",\noptions: &#91;\n\"A. Increase hoti hai\",\n\"B. Decrease hoti hai\",\n\"C. Hamesha same rehti hai\",\n\"D. Double ho jaati hai\"\n],\ncorrect: 1,\nexplanation: \"Gases ke case mein generally temperature increase hone par liquid mein gas ki solubility &lt;b>decrease&lt;\/b> hoti hai.\"\n},\n\n{\nquestion: \"10. Solubility ko mixture separation mein important property kyun maana jaata hai?\",\noptions: &#91;\n\"A. Kyunki sabhi substances ki solubility same hoti hai\",\n\"B. Kyunki different substances ki solubility ka difference separation mein help kar sakta hai\",\n\"C. Kyunki solubility sirf gases ke liye hoti hai\",\n\"D. Kyunki temperature ka solubility par koi effect nahi hota\"\n],\ncorrect: 1,\nexplanation: \"Different substances ki solubility different ho sakti hai. Isi difference ka use &lt;b>mixtures se substances ko separate&lt;\/b> karne mein kiya ja sakta hai.\"\n}\n\n];\n\nlet currentQuestion = 0;\nlet score = 0;\nlet userAnswers = &#91;];\nlet userName = \"\";\n\nfunction startQuiz() {\n\n    userName = document.getElementById(\"userName\").value.trim();\n\n    if (!userName) {\n        alert(\"Please enter your name.\");\n        return;\n    }\n\n    document.getElementById(\"nameSection\").style.display = \"none\";\n    document.getElementById(\"quizSection\").style.display = \"block\";\n\n    showQuestion();\n    loadScoreboard();\n}\n\nfunction showQuestion() {\n\n    const q = questions&#91;currentQuestion];\n    const container = document.getElementById(\"questionContainer\");\n\n    container.innerHTML = `\n        &lt;div class=\"question\">${q.question}&lt;\/div>\n\n        &lt;div class=\"options\">\n            ${q.options.map((opt, i) => `\n                &lt;label>\n                    &lt;input type=\"radio\" name=\"option\" value=\"${i}\"\n                    ${userAnswers&#91;currentQuestion] == i ? 'checked' : ''}>\n                    ${opt}\n                &lt;\/label>\n            `).join('')}\n        &lt;\/div>\n\n        &lt;div class=\"explanation\" id=\"explain${currentQuestion}\">\n            ${q.explanation}\n        &lt;\/div>\n    `;\n\n    document.getElementById(\"prevBtn\").style.display =\n        currentQuestion === 0 ? \"none\" : \"inline-block\";\n\n    document.getElementById(\"nextBtn\").style.display =\n        currentQuestion === questions.length - 1 ? \"none\" : \"inline-block\";\n\n    document.getElementById(\"submitBtn\").style.display =\n        currentQuestion === questions.length - 1 ? \"inline-block\" : \"none\";\n}\n\nfunction nextQuestion() {\n\n    saveAnswer();\n\n    if (currentQuestion &lt; questions.length - 1) {\n        currentQuestion++;\n        showQuestion();\n    }\n}\n\nfunction prevQuestion() {\n\n    saveAnswer();\n\n    if (currentQuestion > 0) {\n        currentQuestion--;\n        showQuestion();\n    }\n}\n\nfunction saveAnswer() {\n\n    const selected = document.querySelector('input&#91;name=\"option\"]:checked');\n\n    userAnswers&#91;currentQuestion] = selected\n        ? parseInt(selected.value)\n        : null;\n}\n\nfunction submitQuiz() {\n\n    saveAnswer();\n\n    score = 0;\n\n    questions.forEach((q, index) => {\n        if (userAnswers&#91;index] === q.correct) {\n            score++;\n        }\n    });\n\n    showResults();\n    saveScore(userName, score);\n    loadScoreboard();\n}\n\nfunction showResults() {\n\n    const container = document.getElementById(\"questionContainer\");\n\n    container.innerHTML = \"\";\n\n    questions.forEach((q, index) => {\n\n        const selected = userAnswers&#91;index];\n        const correct = q.correct;\n\n        let optsHTML = q.options.map((opt, i) => {\n\n            let cls = \"\";\n\n            if (i === correct) {\n                cls = \"correct\";\n            }\n\n            if (selected === i &amp;&amp; selected !== correct) {\n                cls = \"wrong\";\n            }\n\n            return `&lt;label class=\"${cls}\">${opt}&lt;\/label>`;\n\n        }).join('');\n\n        container.innerHTML += `\n            &lt;div class=\"question\">${q.question}&lt;\/div>\n\n            &lt;div class=\"options\">\n                ${optsHTML}\n            &lt;\/div>\n\n            &lt;div class=\"explanation\" style=\"display:block;\">\n                &lt;b>Explanation:&lt;\/b>&lt;br>\n                ${q.explanation}\n            &lt;\/div>\n\n            &lt;hr>\n        `;\n    });\n\n    document.querySelector(\".controls\").style.display = \"none\";\n\n    document.getElementById(\"result\").innerHTML =\n        `&lt;h3>Your Score: ${score} \/ ${questions.length}&lt;\/h3>`;\n}\n\nfunction saveScore(name, score) {\n\n    let scores = JSON.parse(localStorage.getItem(\"quizScores\")) || &#91;];\n\n    scores.push({\n        name,\n        score,\n        date: new Date().toLocaleString()\n    });\n\n    localStorage.setItem(\"quizScores\", JSON.stringify(scores));\n}\n\nfunction loadScoreboard() {\n\n    let scores = JSON.parse(localStorage.getItem(\"quizScores\")) || &#91;];\n\n    scores.sort((a, b) => b.score - a.score);\n\n    document.getElementById(\"scoreList\").innerHTML =\n        scores.map(s => `\n            &lt;li>\n                ${escapeHTML(s.name)} - ${s.score}\/10 (${escapeHTML(s.date)})\n            &lt;\/li>\n        `).join('');\n}\n\nfunction escapeHTML(value) {\n    return String(value).replace(\/&#91;&amp;&lt;>\"']\/g, char => ({\n        '&amp;': '&amp;amp;',\n        '&lt;': '&amp;lt;',\n        '>': '&amp;gt;',\n        '\"': '&amp;quot;',\n        \"'\": '&amp;#39;'\n    })&#91;char]);\n}\n\n&lt;\/script>\n\n&lt;\/body>\n&lt;\/html><\/code><\/pre>\n\n\n\n<!--nextpage-->\n\n\n\n<p class=\"wp-block-paragraph\">ch5part5<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;!DOCTYPE html>\n&lt;html lang=\"en\">\n&lt;head>\n&lt;meta charset=\"UTF-8\">\n&lt;meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n&lt;title>Science Quiz \u2013 Solubility Curves | APICAL CLASSES&lt;\/title>\n\n&lt;style>\nbody {\n    font-family: Arial, sans-serif;\n    background: linear-gradient(135deg, #a1c4fd, #c2e9fb);\n    display: flex;\n    justify-content: center;\n    align-items: flex-start;\n    padding: 30px;\n    min-height: 100vh;\n}\n.quiz-container {\n    background: #fff;\n    padding: 25px;\n    border-radius: 12px;\n    box-shadow: 0 4px 10px rgba(0,0,0,0.2);\n    width: 90%;\n    max-width: 800px;\n}\nh2 { text-align: center; color: #1e3c72; }\n.question { font-weight: bold; margin: 10px 0; line-height: 1.6; }\n.options label {\n    display: block;\n    margin: 8px 0;\n    padding: 10px;\n    border-radius: 6px;\n    border: 1px solid #ccc;\n    cursor: pointer;\n    transition: 0.3s;\n}\n.options label:hover { background: #f0f0f0; }\n.correct {\n    background-color: #c8f7c5 !important;\n    border-color: #28a745 !important;\n}\n.wrong {\n    background-color: #f8d7da !important;\n    border-color: #dc3545 !important;\n}\n.explanation {\n    background: #e9ecef;\n    padding: 10px;\n    margin-top: 10px;\n    border-left: 5px solid #2a5298;\n    display: none;\n    line-height: 1.6;\n}\n.controls { text-align: center; margin-top: 15px; }\nbutton {\n    background-color: #2a5298;\n    color: white;\n    border: none;\n    padding: 10px 20px;\n    border-radius: 6px;\n    cursor: pointer;\n    margin: 5px;\n}\nbutton:hover { background-color: #1e3c72; }\n#scoreboard {\n    margin-top: 25px;\n    background: #eef3f7;\n    padding: 15px;\n    border-radius: 8px;\n}\n#scoreboard h3 { text-align: center; }\nol { padding-left: 20px; }\n&lt;\/style>\n&lt;\/head>\n\n&lt;body>\n\n&lt;div class=\"quiz-container\">\n\n&lt;h2>\ud83e\udde0 Science Quiz \u2013 Solubility Curves and Crystallization&lt;\/h2>\n\n&lt;div id=\"nameSection\">\n    &lt;p>&lt;strong>Enter your name to start:&lt;\/strong>&lt;\/p>\n    &lt;input type=\"text\" id=\"userName\" placeholder=\"Your Name\">\n    &lt;button onclick=\"startQuiz()\">Start Quiz&lt;\/button>\n&lt;\/div>\n\n&lt;div id=\"quizSection\" style=\"display:none;\">\n\n    &lt;div id=\"questionContainer\">&lt;\/div>\n\n    &lt;div class=\"controls\">\n        &lt;button onclick=\"prevQuestion()\" id=\"prevBtn\">Previous&lt;\/button>\n        &lt;button onclick=\"nextQuestion()\" id=\"nextBtn\">Next&lt;\/button>\n        &lt;button onclick=\"submitQuiz()\" id=\"submitBtn\" style=\"display:none;\">Submit&lt;\/button>\n    &lt;\/div>\n\n    &lt;div id=\"result\" style=\"text-align:center; margin-top:20px;\">&lt;\/div>\n\n    &lt;div id=\"scoreboard\">\n        &lt;h3>\ud83c\udfc6 Scoreboard&lt;\/h3>\n        &lt;ol id=\"scoreList\">&lt;\/ol>\n    &lt;\/div>\n\n&lt;\/div>\n&lt;\/div>\n\n&lt;script>\n\nconst questions = &#91;\n\n{\nquestion: \"1. Solubility curve mein x-axis aur y-axis par respectively kya show kiya jaata hai?\",\noptions: &#91;\n\"A. Mass aur volume\",\n\"B. Temperature aur solubility\",\n\"C. Solubility aur temperature\",\n\"D. Pressure aur temperature\"\n],\ncorrect: 1,\nexplanation: \"Solubility curve ke &lt;b>x-axis par temperature (\u00b0C)&lt;\/b> aur &lt;b>y-axis par solubility (g per 100 g water)&lt;\/b> show hoti hai.\"\n},\n\n{\nquestion: \"2. Solubility curve ka use karke kya determine kiya ja sakta hai?\",\noptions: &#91;\n\"A. Kisi given temperature par solute kitna dissolve ho sakta hai\",\n\"B. Solvent ka boiling point only\",\n\"C. Solution ka colour\",\n\"D. Solute ka molecular mass directly\"\n],\ncorrect: 0,\nexplanation: \"Graph se given temperature par solute ki &lt;b>solubility&lt;\/b>, yani 100 g water mein maximum kitne grams solute dissolve honge, pata chal sakta hai.\"\n},\n\n{\nquestion: \"3. Agar compound A ki solubility 20\u00b0C par uski 60\u00b0C ki solubility se kam hai, to temperature increase karne par compound A ki solubility generally kya karegi?\",\noptions: &#91;\n\"A. Decrease hogi\",\n\"B. Increase hogi\",\n\"C. Zero ho jayegi\",\n\"D. Hamesha constant rahegi\"\n],\ncorrect: 1,\nexplanation: \"Agar 60\u00b0C par solubility 20\u00b0C se higher hai, to temperature increase hone par compound A ki &lt;b>solubility increase&lt;\/b> ho rahi hai.\"\n},\n\n{\nquestion: \"4. Solubility graph mein compound B ki solubility 20\u00b0C par 60\u00b0C ki solubility se kam hai. Is observation se kya conclude hoga?\",\noptions: &#91;\n\"A. B ki solubility temperature ke saath increase hoti hai\",\n\"B. B ki solubility temperature ke saath decrease hoti hai\",\n\"C. B water mein dissolve nahi hota\",\n\"D. B ek gas hai\"\n],\ncorrect: 0,\nexplanation: \"60\u00b0C par B ki solubility 20\u00b0C se greater hai, isliye temperature increase karne par &lt;b>B ki solubility increase&lt;\/b> hoti hai.\"\n},\n\n{\nquestion: \"5. Solubility curves mein kisi particular temperature par jis compound ki curve higher hai, woh compound given amount of water mein kya karega?\",\noptions: &#91;\n\"A. Kam dissolve hoga\",\n\"B. Zyada dissolve hoga\",\n\"C. Bilkul dissolve nahi hoga\",\n\"D. Solvent mein convert ho jayega\"\n],\ncorrect: 1,\nexplanation: \"Higher solubility ka matlab hai ki same temperature aur same amount of water mein &lt;b>more solute dissolve&lt;\/b> ho sakta hai.\"\n},\n\n{\nquestion: \"6. Compound B ki solubility 60\u00b0C par 287 g per 100 g water hai aur 40\u00b0C par 241 g per 100 g water hai. Agar 60\u00b0C par 287 g B ko 100 g water mein dissolve karke saturated solution banaya aur ise 40\u00b0C tak cool kiya, to kitna B separate out hoga?\",\noptions: &#91;\n\"A. 46 g\",\n\"B. 241 g\",\n\"C. 287 g\",\n\"D. 528 g\"\n],\ncorrect: 0,\nexplanation: \"40\u00b0C par sirf &lt;b>241 g&lt;\/b> B dissolve reh sakta hai. Separate hone wala amount = 287 \u2212 241 = &lt;b>46 g&lt;\/b>.\"\n},\n\n{\nquestion: \"7. Jab saturated solution ko higher temperature se slowly cool kiya jaata hai aur excess solute pure solid ke form mein separate hota hai, to is process ko kya kehte hain?\",\noptions: &#91;\n\"A. Filtration\",\n\"B. Evaporation\",\n\"C. Crystallization\",\n\"D. Decantation\"\n],\ncorrect: 2,\nexplanation: \"Saturated solution se cooling ke through &lt;b>pure solid crystals&lt;\/b> form karne ki process ko &lt;b>crystallization&lt;\/b> kehte hain.\"\n},\n\n{\nquestion: \"8. Crystal ki correct definition kya hai?\",\noptions: &#91;\n\"A. Randomly arranged liquid particles\",\n\"B. Regular geometric pattern mein arranged particles se bana solid\",\n\"C. Sirf gas particles ka group\",\n\"D. Any heterogeneous mixture\"\n],\ncorrect: 1,\nexplanation: \"Crystal ek solid hota hai jisme particles &lt;b>regular geometric arrangement&lt;\/b> mein present hote hain.\"\n},\n\n{\nquestion: \"9. Crystallization ka use do solids ko separate karne ke liye kab kiya ja sakta hai?\",\noptions: &#91;\n\"A. Jab dono solids water mein completely insoluble hon\",\n\"B. Jab ek compound small quantity mein ho aur dono same solvent mein soluble hon\",\n\"C. Jab dono compounds gases hon\",\n\"D. Jab sirf solvent present ho\"\n],\ncorrect: 1,\nexplanation: \"Crystallization ka use aise mixture mein ho sakta hai jahan &lt;b>ek solid small quantity mein ho aur dono same solvent mein soluble hon&lt;\/b>, especially jab unki solubilities temperature ke saath different change hoti hain.\"\n},\n\n{\nquestion: \"10. Crystallization se solids ki purification kis principle par based hai?\",\noptions: &#91;\n\"A. Different colours\",\n\"B. Different densities only\",\n\"C. Different solubilities at different temperatures\",\n\"D. Different melting points only\"\n],\ncorrect: 2,\nexplanation: \"Crystallization mein purification ka main principle hai ki substances ki &lt;b>solubility temperature ke saath different rate se change&lt;\/b> ho sakti hai. Is difference ka use pure crystals obtain karne mein hota hai.\"\n}\n\n];\n\nlet currentQuestion = 0;\nlet score = 0;\nlet userAnswers = &#91;];\nlet userName = \"\";\n\nfunction startQuiz() {\n\n    userName = document.getElementById(\"userName\").value.trim();\n\n    if (!userName) return alert(\"Please enter your name.\");\n\n    document.getElementById(\"nameSection\").style.display = \"none\";\n    document.getElementById(\"quizSection\").style.display = \"block\";\n\n    showQuestion();\n    loadScoreboard();\n}\n\nfunction showQuestion() {\n\n    const q = questions&#91;currentQuestion];\n    const container = document.getElementById(\"questionContainer\");\n\n    container.innerHTML = `\n        &lt;div class=\"question\">${q.question}&lt;\/div>\n\n        &lt;div class=\"options\">\n            ${q.options.map((opt, i) => `\n                &lt;label>\n                    &lt;input type=\"radio\" name=\"option\" value=\"${i}\"\n                    ${userAnswers&#91;currentQuestion] == i ? 'checked' : ''}>\n                    ${opt}\n                &lt;\/label>\n            `).join('')}\n        &lt;\/div>\n\n        &lt;div class=\"explanation\" id=\"explain${currentQuestion}\">\n            ${q.explanation}\n        &lt;\/div>\n    `;\n\n    document.getElementById(\"prevBtn\").style.display =\n        currentQuestion === 0 ? \"none\" : \"inline-block\";\n\n    document.getElementById(\"nextBtn\").style.display =\n        currentQuestion === questions.length - 1 ? \"none\" : \"inline-block\";\n\n    document.getElementById(\"submitBtn\").style.display =\n        currentQuestion === questions.length - 1 ? \"inline-block\" : \"none\";\n}\n\nfunction nextQuestion() {\n\n    saveAnswer();\n\n    if (currentQuestion &lt; questions.length - 1) {\n        currentQuestion++;\n        showQuestion();\n    }\n}\n\nfunction prevQuestion() {\n\n    saveAnswer();\n\n    if (currentQuestion > 0) {\n        currentQuestion--;\n        showQuestion();\n    }\n}\n\nfunction saveAnswer() {\n\n    const selected = document.querySelector('input&#91;name=\"option\"]:checked');\n\n    userAnswers&#91;currentQuestion] =\n        selected ? parseInt(selected.value) : null;\n}\n\nfunction submitQuiz() {\n\n    saveAnswer();\n\n    score = 0;\n\n    questions.forEach((q, index) => {\n        if (userAnswers&#91;index] === q.correct) score++;\n    });\n\n    showResults();\n    saveScore(userName, score);\n    loadScoreboard();\n}\n\nfunction showResults() {\n\n    const container = document.getElementById(\"questionContainer\");\n\n    container.innerHTML = \"\";\n\n    questions.forEach((q, index) => {\n\n        const selected = userAnswers&#91;index];\n        const correct = q.correct;\n\n        let optsHTML = q.options.map((opt, i) => {\n\n            let cls = \"\";\n\n            if (i === correct) cls = \"correct\";\n\n            if (selected === i &amp;&amp; selected !== correct) {\n                cls = \"wrong\";\n            }\n\n            return `&lt;label class=\"${cls}\">${opt}&lt;\/label>`;\n\n        }).join('');\n\n        container.innerHTML += `\n            &lt;div class=\"question\">${q.question}&lt;\/div>\n\n            &lt;div class=\"options\">${optsHTML}&lt;\/div>\n\n            &lt;div class=\"explanation\" style=\"display:block;\">\n                ${q.explanation}\n            &lt;\/div>\n\n            &lt;hr>\n        `;\n    });\n\n    document.querySelector(\".controls\").style.display = \"none\";\n\n    document.getElementById(\"result\").innerHTML =\n        `&lt;h3>Your Score: ${score} \/ ${questions.length}&lt;\/h3>`;\n}\n\nfunction saveScore(name, score) {\n\n    let scores = JSON.parse(localStorage.getItem(\"quizScores\")) || &#91;];\n\n    scores.push({\n        name,\n        score,\n        date: new Date().toLocaleString()\n    });\n\n    localStorage.setItem(\"quizScores\", JSON.stringify(scores));\n}\n\nfunction loadScoreboard() {\n\n    let scores = JSON.parse(localStorage.getItem(\"quizScores\")) || &#91;];\n\n    scores.sort((a, b) => b.score - a.score);\n\n    document.getElementById(\"scoreList\").innerHTML =\n        scores.map(s =>\n            `&lt;li>${s.name} - ${s.score}\/10 (${s.date})&lt;\/li>`\n        ).join('');\n}\n\n&lt;\/script>\n\n&lt;\/body>\n&lt;\/html><\/code><\/pre>\n\n\n\n<!--nextpage-->\n\n\n\n<p class=\"wp-block-paragraph\">ch5part6<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;!DOCTYPE html>\n&lt;html lang=\"en\">\n&lt;head>\n&lt;meta charset=\"UTF-8\">\n&lt;meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n&lt;title>APICAL CLASSES - Crystallization Quiz&lt;\/title>\n\n&lt;style>\nbody {\n    font-family: Arial, sans-serif;\n    background: linear-gradient(135deg, #a1c4fd, #c2e9fb);\n    display: flex;\n    justify-content: center;\n    align-items: flex-start;\n    padding: 30px;\n    min-height: 100vh;\n}\n.quiz-container {\n    background: #fff;\n    padding: 25px;\n    border-radius: 12px;\n    box-shadow: 0 4px 10px rgba(0,0,0,0.2);\n    width: 90%;\n    max-width: 800px;\n}\nh2 { text-align: center; color: #1e3c72; }\n.question { font-weight: bold; margin: 10px 0; line-height: 1.6; }\n.options label {\n    display: block;\n    margin: 8px 0;\n    padding: 10px;\n    border-radius: 6px;\n    border: 1px solid #ccc;\n    cursor: pointer;\n    transition: 0.3s;\n}\n.options label:hover { background: #f0f0f0; }\n.correct { background-color: #c8f7c5 !important; border-color: #28a745 !important; }\n.wrong { background-color: #f8d7da !important; border-color: #dc3545 !important; }\n.explanation {\n    background: #e9ecef;\n    padding: 10px;\n    margin-top: 10px;\n    border-left: 5px solid #2a5298;\n    display: none;\n    line-height: 1.6;\n}\n.controls { text-align: center; margin-top: 15px; }\nbutton {\n    background-color: #2a5298;\n    color: white;\n    border: none;\n    padding: 10px 20px;\n    border-radius: 6px;\n    cursor: pointer;\n    margin: 5px;\n}\nbutton:hover { background-color: #1e3c72; }\n#scoreboard {\n    margin-top: 25px;\n    background: #eef3f7;\n    padding: 15px;\n    border-radius: 8px;\n}\n#scoreboard h3 { text-align: center; }\nol { padding-left: 20px; }\n#userName {\n    padding: 10px;\n    width: 90%;\n    border: 1px solid #ccc;\n    border-radius: 6px;\n    margin-bottom: 10px;\n}\n&lt;\/style>\n&lt;\/head>\n\n&lt;body>\n&lt;div class=\"quiz-container\">\n\n&lt;h2>\ud83e\udde0 APICAL CLASSES \u2013 Science Quiz&lt;br>Crystallization&lt;\/h2>\n\n&lt;div id=\"nameSection\">\n    &lt;p>&lt;strong>Enter your name to start:&lt;\/strong>&lt;\/p>\n    &lt;input type=\"text\" id=\"userName\" placeholder=\"Your Name\">\n    &lt;button onclick=\"startQuiz()\">Start Quiz&lt;\/button>\n&lt;\/div>\n\n&lt;div id=\"quizSection\" style=\"display:none;\">\n    &lt;div id=\"questionContainer\">&lt;\/div>\n\n    &lt;div class=\"controls\">\n        &lt;button onclick=\"prevQuestion()\" id=\"prevBtn\">Previous&lt;\/button>\n        &lt;button onclick=\"nextQuestion()\" id=\"nextBtn\">Next&lt;\/button>\n        &lt;button onclick=\"submitQuiz()\" id=\"submitBtn\" style=\"display:none;\">Submit&lt;\/button>\n    &lt;\/div>\n\n    &lt;div id=\"result\" style=\"text-align:center; margin-top:20px;\">&lt;\/div>\n\n    &lt;div id=\"scoreboard\">\n        &lt;h3>\ud83c\udfc6 Scoreboard&lt;\/h3>\n        &lt;ol id=\"scoreList\">&lt;\/ol>\n    &lt;\/div>\n&lt;\/div>\n&lt;\/div>\n\n&lt;script>\n\nconst questions = &#91;\n\n{\nquestion: \"1. Copper sulfate crystals prepare karne ke experiment mein copper sulfate ko water mein dissolve karke solution ko gradually saturated kyun kiya jaata hai?\",\noptions: &#91;\n\"A. Solution ko colourless banane ke liye\",\n\"B. Maximum solute dissolve karne ke liye\",\n\"C. Water ko completely remove karne ke liye\",\n\"D. Copper sulfate ko gas mein convert karne ke liye\"\n],\ncorrect: 1,\nexplanation: \"Saturated solution mein given temperature par maximum possible copper sulfate dissolve hota hai. Cooling par excess copper sulfate crystals ke form mein separate ho sakta hai.\"\n},\n\n{\nquestion: \"2. Copper sulfate crystallization experiment mein dilute sulfuric acid ki ek drop kyun add ki jaati hai?\",\noptions: &#91;\n\"A. Solution ko boil karne ke liye\",\n\"B. Pure crystals banane mein unwanted reactions ko prevent karne ke liye\",\n\"C. Copper sulfate ko insoluble banane ke liye\",\n\"D. Water ka volume increase karne ke liye\"\n],\ncorrect: 1,\nexplanation: \"Dilute sulfuric acid kuch unwanted reactions ko prevent karne mein help karti hai, jisse pure copper sulfate crystals obtain kiye ja sakte hain.\"\n},\n\n{\nquestion: \"3. Hot saturated copper sulfate solution ko filter karne ka main purpose kya hai?\",\noptions: &#91;\n\"A. Copper sulfate ko dissolve karna\",\n\"B. Insoluble impurities remove karna\",\n\"C. Solution ko cool karna\",\n\"D. Crystals ko melt karna\"\n],\ncorrect: 1,\nexplanation: \"Hot solution ko filter karke insoluble impurities remove ki jaati hain. Dissolved copper sulfate filtrate mein remain karta hai.\"\n},\n\n{\nquestion: \"4. Filtered hot copper sulfate solution ko cover karke slowly cool karne par large, shiny aur well-shaped crystals kyun bante hain?\",\noptions: &#91;\n\"A. Particles ko gradually arrange hone ke liye sufficient time milta hai\",\n\"B. Solution mein extra water add hota hai\",\n\"C. Copper sulfate gas ban jaata hai\",\n\"D. Impurities crystals mein convert ho jaati hain\"\n],\ncorrect: 0,\nexplanation: \"Slow cooling particles ko gradually arrange hone ka enough time deta hai, jisse larger aur well-formed crystals ban sakte hain.\"\n},\n\n{\nquestion: \"5. Hot saturated copper sulfate solution ko ice-cold water mein rapidly cool karne par generally kya hoga?\",\noptions: &#91;\n\"A. Larger and better-shaped crystals banenge\",\n\"B. Smaller and less well-formed crystals banenge\",\n\"C. Koi solid form nahi hoga\",\n\"D. Copper sulfate completely evaporate ho jayega\"\n],\ncorrect: 1,\nexplanation: \"Rapid cooling se particles ko proper arrangement ke liye kam time milta hai. Isliye smaller aur less well-formed crystals bante hain.\"\n},\n\n{\nquestion: \"6. Copper sulfate crystals ko obtain karne ke baad unhe cold water se rinse karke dry kiya jaata hai. Cold water use karne ka advantage kya hai?\",\noptions: &#91;\n\"A. Crystals ki solubility increase karna\",\n\"B. Crystals ko dissolve hone se kam karna\",\n\"C. Crystals ko liquid banana\",\n\"D. Copper sulfate ko decompose karna\"\n],\ncorrect: 1,\nexplanation: \"Copper sulfate water mein soluble hai. Cold water mein solubility lower hoti hai, isliye crystals rinse karte waqt kam dissolve hote hain.\"\n},\n\n{\nquestion: \"7. Crystallization ka main purpose kya hai?\",\noptions: &#91;\n\"A. Homogeneous mixture se pure crystals obtain karna\",\n\"B. Do gases ko separate karna\",\n\"C. Solution ko permanently liquid rakhna\",\n\"D. Solvent ko solute mein convert karna\"\n],\ncorrect: 0,\nexplanation: \"Crystallization ka use homogeneous mixtures se pure substances ko crystals ke form mein separate aur purify karne ke liye hota hai.\"\n},\n\n{\nquestion: \"8. Kisi new compound ko prepare karne ke baad usmein unwanted impurities present hain. Crystallization kaise help karegi?\",\noptions: &#91;\n\"A. Desired substance ko impurities ke saath permanently mix karegi\",\n\"B. Desired pure substance ko crystals ke form mein separate karegi\",\n\"C. Sabhi substances ko gas mein convert karegi\",\n\"D. Sirf solvent ko filter karegi\"\n],\ncorrect: 1,\nexplanation: \"Crystallization unwanted impurities ko separate karke desired substance ke relatively pure crystals obtain karne mein help karti hai.\"\n},\n\n{\nquestion: \"9. Agar saturated copper sulfate solution ka 1\u20132 mL glass plate par rakhkar kuch time ke liye chhod diya jaye aur water evaporate ho jaye, to kya observe kiya ja sakta hai?\",\noptions: &#91;\n\"A. Copper sulfate crystals form ho sakte hain\",\n\"B. Solution ka mass increase hoga\",\n\"C. Copper sulfate gas ban jayega\",\n\"D. Water ki quantity increase hogi\"\n],\ncorrect: 0,\nexplanation: \"Water evaporate hone par dissolved copper sulfate ki concentration badhti hai aur excess copper sulfate crystals ke form mein separate ho sakta hai.\"\n},\n\n{\nquestion: \"10. Common salt crystals ke size par evaporation ki rate ka kya effect ho sakta hai?\",\noptions: &#91;\n\"A. Faster evaporation generally smaller crystals de sakti hai\",\n\"B. Faster evaporation hamesha largest crystals deti hai\",\n\"C. Evaporation rate ka koi effect nahi hota\",\n\"D. Slow evaporation se crystals form hi nahi hote\"\n],\ncorrect: 0,\nexplanation: \"Slow evaporation particles ko orderly arrangement ke liye more time deti hai, isliye generally larger crystals ban sakte hain. Faster evaporation se smaller crystals banne ki tendency hoti hai.\"\n}\n\n];\n\nlet currentQuestion = 0;\nlet score = 0;\nlet userAnswers = &#91;];\nlet userName = \"\";\n\nfunction startQuiz() {\n    userName = document.getElementById(\"userName\").value.trim();\n\n    if (!userName) return alert(\"Please enter your name.\");\n\n    document.getElementById(\"nameSection\").style.display = \"none\";\n    document.getElementById(\"quizSection\").style.display = \"block\";\n\n    showQuestion();\n    loadScoreboard();\n}\n\nfunction showQuestion() {\n    const q = questions&#91;currentQuestion];\n    const container = document.getElementById(\"questionContainer\");\n\n    container.innerHTML = `\n        &lt;div class=\"question\">${q.question}&lt;\/div>\n        &lt;div class=\"options\">\n            ${q.options.map((opt, i) => `\n                &lt;label>\n                    &lt;input type=\"radio\" name=\"option\" value=\"${i}\"\n                    ${userAnswers&#91;currentQuestion] == i ? 'checked' : ''}>\n                    ${opt}\n                &lt;\/label>\n            `).join('')}\n        &lt;\/div>\n        &lt;div class=\"explanation\" id=\"explain${currentQuestion}\">\n            ${q.explanation}\n        &lt;\/div>\n    `;\n\n    document.getElementById(\"prevBtn\").style.display =\n        currentQuestion === 0 ? \"none\" : \"inline-block\";\n\n    document.getElementById(\"nextBtn\").style.display =\n        currentQuestion === questions.length - 1 ? \"none\" : \"inline-block\";\n\n    document.getElementById(\"submitBtn\").style.display =\n        currentQuestion === questions.length - 1 ? \"inline-block\" : \"none\";\n}\n\nfunction saveAnswer() {\n    const selected = document.querySelector('input&#91;name=\"option\"]:checked');\n    userAnswers&#91;currentQuestion] = selected ? parseInt(selected.value) : null;\n}\n\nfunction nextQuestion() {\n    saveAnswer();\n\n    if (currentQuestion &lt; questions.length - 1) {\n        currentQuestion++;\n        showQuestion();\n    }\n}\n\nfunction prevQuestion() {\n    saveAnswer();\n\n    if (currentQuestion > 0) {\n        currentQuestion--;\n        showQuestion();\n    }\n}\n\nfunction submitQuiz() {\n    saveAnswer();\n    score = 0;\n\n    questions.forEach((q, index) => {\n        if (userAnswers&#91;index] === q.correct) score++;\n    });\n\n    showResults();\n    saveScore(userName, score);\n    loadScoreboard();\n}\n\nfunction showResults() {\n    const container = document.getElementById(\"questionContainer\");\n    container.innerHTML = \"\";\n\n    questions.forEach((q, index) => {\n        const selected = userAnswers&#91;index];\n        const correct = q.correct;\n\n        let optsHTML = q.options.map((opt, i) => {\n            let cls = \"\";\n\n            if (i === correct) cls = \"correct\";\n            if (selected === i &amp;&amp; selected !== correct) cls = \"wrong\";\n\n            return `&lt;label class=\"${cls}\">${opt}&lt;\/label>`;\n        }).join('');\n\n        container.innerHTML += `\n            &lt;div class=\"question\">${q.question}&lt;\/div>\n            &lt;div class=\"options\">${optsHTML}&lt;\/div>\n            &lt;div class=\"explanation\" style=\"display:block;\">\n                &lt;strong>Explanation:&lt;\/strong> ${q.explanation}\n            &lt;\/div>\n            &lt;hr>\n        `;\n    });\n\n    document.querySelector(\".controls\").style.display = \"none\";\n\n    document.getElementById(\"result\").innerHTML = `\n        &lt;h3>Your Score: ${score} \/ ${questions.length}&lt;\/h3>\n        &lt;p>&lt;strong>Student Name:&lt;\/strong> ${escapeHTML(userName)}&lt;\/p>\n        &lt;p>${score >= 8 ? \"Excellent Performance! \ud83c\udf89\" :\n        score >= 5 ? \"Good Attempt! Keep Practicing.\" :\n        \"Keep Learning and Try Again!\"}&lt;\/p>\n    `;\n}\n\nfunction escapeHTML(value) {\n    return value.replace(\/&#91;&amp;&lt;>\"']\/g, char => ({\n        '&amp;': '&amp;amp;',\n        '&lt;': '&amp;lt;',\n        '>': '&amp;gt;',\n        '\"': '&amp;quot;',\n        \"'\": '&amp;#39;'\n    })&#91;char]);\n}\n\nfunction saveScore(name, score) {\n    let scores = JSON.parse(localStorage.getItem(\"quizScores\")) || &#91;];\n\n    scores.push({\n        name: name,\n        score: score,\n        date: new Date().toLocaleString()\n    });\n\n    localStorage.setItem(\"quizScores\", JSON.stringify(scores));\n}\n\nfunction loadScoreboard() {\n    let scores = JSON.parse(localStorage.getItem(\"quizScores\")) || &#91;];\n\n    scores.sort((a, b) => b.score - a.score);\n\n    document.getElementById(\"scoreList\").innerHTML =\n        scores.map(s => `\n            &lt;li>${escapeHTML(s.name)} - ${s.score}\/10 (${escapeHTML(s.date)})&lt;\/li>\n        `).join('');\n}\n\n&lt;\/script>\n&lt;\/body>\n&lt;\/html><\/code><\/pre>\n\n\n\n<!--nextpage-->\n\n\n\n<p class=\"wp-block-paragraph\">ch5part7<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;!DOCTYPE html>\n&lt;html lang=\"en\">\n&lt;head>\n&lt;title>Science Quiz \u2013 Evaporation and Distillation&lt;\/title>\n&lt;style>\nbody {\n    font-family: Arial, sans-serif;\n    background: linear-gradient(135deg, #a1c4fd, #c2e9fb);\n    display: flex;\n    justify-content: center;\n    align-items: flex-start;\n    padding: 30px;\n    min-height: 100vh;\n}\n.quiz-container {\n    background: #fff;\n    padding: 25px;\n    border-radius: 12px;\n    box-shadow: 0 4px 10px rgba(0,0,0,0.2);\n    width: 90%;\n    max-width: 800px;\n}\nh2 { text-align: center; color: #1e3c72; }\n.question {\n    font-weight: bold;\n    margin: 10px 0;\n    line-height: 1.6;\n}\n.options label {\n    display: block;\n    margin: 8px 0;\n    padding: 10px;\n    border-radius: 6px;\n    border: 1px solid #ccc;\n    cursor: pointer;\n    transition: 0.3s;\n}\n.options label:hover { background: #f0f0f0; }\n.correct {\n    background-color: #c8f7c5 !important;\n    border-color: #28a745 !important;\n}\n.wrong {\n    background-color: #f8d7da !important;\n    border-color: #dc3545 !important;\n}\n.explanation {\n    background: #e9ecef;\n    padding: 10px;\n    margin-top: 10px;\n    border-left: 5px solid #2a5298;\n    display: none;\n    line-height: 1.6;\n}\n.controls { text-align: center; margin-top: 15px; }\nbutton {\n    background-color: #2a5298;\n    color: white;\n    border: none;\n    padding: 10px 20px;\n    border-radius: 6px;\n    cursor: pointer;\n    margin: 5px;\n}\nbutton:hover { background-color: #1e3c72; }\n#scoreboard {\n    margin-top: 25px;\n    background: #eef3f7;\n    padding: 15px;\n    border-radius: 8px;\n}\n#scoreboard h3 { text-align: center; }\nol { padding-left: 20px; }\n&lt;\/style>\n&lt;\/head>\n\n&lt;body>\n&lt;div class=\"quiz-container\">\n\n&lt;h2>\ud83e\udde0 Science Quiz \u2013 Evaporation and Distillation&lt;\/h2>\n\n&lt;div id=\"nameSection\">\n    &lt;p>&lt;strong>Enter your name to start:&lt;\/strong>&lt;\/p>\n    &lt;input type=\"text\" id=\"userName\" placeholder=\"Your Name\">\n    &lt;button onclick=\"startQuiz()\">Start Quiz&lt;\/button>\n&lt;\/div>\n\n&lt;div id=\"quizSection\" style=\"display:none;\">\n    &lt;div id=\"questionContainer\">&lt;\/div>\n\n    &lt;div class=\"controls\">\n        &lt;button onclick=\"prevQuestion()\" id=\"prevBtn\">Previous&lt;\/button>\n        &lt;button onclick=\"nextQuestion()\" id=\"nextBtn\">Next&lt;\/button>\n        &lt;button onclick=\"submitQuiz()\" id=\"submitBtn\" style=\"display:none;\">Submit&lt;\/button>\n    &lt;\/div>\n\n    &lt;div id=\"result\" style=\"text-align:center; margin-top:20px;\">&lt;\/div>\n\n    &lt;div id=\"scoreboard\">\n        &lt;h3>\ud83c\udfc6 Scoreboard&lt;\/h3>\n        &lt;ol id=\"scoreList\">&lt;\/ol>\n    &lt;\/div>\n&lt;\/div>\n&lt;\/div>\n\n&lt;script>\n\nconst questions = &#91;\n\n{\nquestion: \"1. Seawater se common salt obtain karne ke liye generally seawater ko evaporate karne par kya hota hai?\",\noptions: &#91;\n\"A. Water aur salt dono evaporate ho jaate hain\",\n\"B. Water evaporate hota hai aur salt crystals remain\/separate ho jaate hain\",\n\"C. Salt gas mein convert ho jaata hai\",\n\"D. Seawater pure water ban jaata hai\"\n],\ncorrect: 1,\nexplanation: \"\u2705 Correct: Option B.&lt;br>Seawater ko evaporate karne par water solvent ke form mein remove hota hai aur dissolved salt crystals ke form mein obtain kiya ja sakta hai.\"\n},\n\n{\nquestion: \"2. Salt manufacturing process mein seawater ko evaporate karte rehne par pehle kya form hota hai?\",\noptions: &#91;\n\"A. Unsaturated solution\",\n\"B. Saturated solution\",\n\"C. Pure water\",\n\"D. Gas\"\n],\ncorrect: 1,\nexplanation: \"\u2705 Correct: Option B.&lt;br>Evaporation ke saath water ki quantity decrease hoti hai aur salt ki concentration increase hoti hai. Eventually solution saturated ho sakta hai aur further evaporation se salt crystals form hote hain.\"\n},\n\n{\nquestion: \"3. Agar kisi process mein sirf salt recover karna ho aur water recover karna zaroori na ho, to seawater se salt obtain karne ke liye kaunsi technique suitable hai?\",\noptions: &#91;\n\"A. Evaporation\",\n\"B. Distillation\",\n\"C. Filtration\",\n\"D. Decantation\"\n],\ncorrect: 0,\nexplanation: \"\u2705 Correct: Option A.&lt;br>Evaporation mein solvent water remove ho jaata hai aur salt crystals obtain ho jaate hain. Water recover nahi hota.\"\n},\n\n{\nquestion: \"4. Agar seawater se salt ke saath water ko bhi recover karna ho, to evaporation ke bajay kaunsi technique more suitable hogi?\",\noptions: &#91;\n\"A. Filtration\",\n\"B. Distillation\",\n\"C. Sedimentation\",\n\"D. Crystallization only\"\n],\ncorrect: 1,\nexplanation: \"\u2705 Correct: Option B.&lt;br>Distillation mein liquid ko vapour banakar phir condenser mein cool kiya jaata hai, jisse liquid solvent recover kiya ja sakta hai.\"\n},\n\n{\nquestion: \"5. Acetone aur water dono miscible liquids hain. Inhe separate karne ke liye distillation mein pehle kya hota hai?\",\noptions: &#91;\n\"A. Higher boiling point wala liquid freeze hota hai\",\n\"B. Lower boiling point wala liquid vapourise hota hai\",\n\"C. Dono liquids immediately solid ban jaate hain\",\n\"D. Dono liquids filter paper par separate ho jaate hain\"\n],\ncorrect: 1,\nexplanation: \"\u2705 Correct: Option B.&lt;br>Distillation mein mixture ko heat kiya jaata hai. Lower boiling point wala liquid pehle vapourise hota hai.\"\n},\n\n{\nquestion: \"6. Distillation mein vapour ko condenser se pass karne par kya hota hai?\",\noptions: &#91;\n\"A. Vapour aur zyada heat absorb karta hai\",\n\"B. Vapour cool hokar liquid mein convert hota hai\",\n\"C. Vapour solid mein directly convert hota hai\",\n\"D. Vapour completely disappear ho jaata hai\"\n],\ncorrect: 1,\nexplanation: \"\u2705 Correct: Option B.&lt;br>Condenser mein cooling ke through vapour condense hokar liquid ban jaata hai. Is recovered liquid ko distillate kehte hain.\"\n},\n\n{\nquestion: \"7. Distillation ka use do miscible liquids ko separate karne ke liye generally tab suitable hai jab unke boiling points mein approximately kitna difference ho?\",\noptions: &#91;\n\"A. At least about 5\u00b0C\",\n\"B. At least about 10\u00b0C\",\n\"C. At least about 25\u00b0C\",\n\"D. Exactly 100\u00b0C\"\n],\ncorrect: 2,\nexplanation: \"\u2705 Correct: Option C.&lt;br>Chapter ke according distillation un liquids ko separate karne mein useful hai jinke boiling points mein at least about 25\u00b0C ka difference ho.\"\n},\n\n{\nquestion: \"8. Acetone-water mixture ki distillation mein condenser ka main function kya hai?\",\noptions: &#91;\n\"A. Mixture ko filter karna\",\n\"B. Vapour ko cool karke liquid banana\",\n\"C. Solid impurities ko dissolve karna\",\n\"D. Boiling point increase karna\"\n],\ncorrect: 1,\nexplanation: \"\u2705 Correct: Option B.&lt;br>Condenser vapour ko cool aur condense karta hai, jisse pure liquid separate vessel mein collect kiya ja sakta hai.\"\n},\n\n{\nquestion: \"9. Distillation se liquid ko dissolved solid se separate karte waqt dissolved solid ka kya hota hai?\",\noptions: &#91;\n\"A. Woh vapour ke saath condenser mein chala jaata hai\",\n\"B. Woh distillation flask mein remain karta hai\",\n\"C. Woh gas mein convert ho jaata hai\",\n\"D. Woh condenser water mein dissolve ho jaata hai\"\n],\ncorrect: 1,\nexplanation: \"\u2705 Correct: Option B.&lt;br>Dissolved solid normally vapourise nahi hota. Isliye liquid vapour ban kar condenser mein jaata hai, jabki solid distillation flask mein remain karta hai.\"\n},\n\n{\nquestion: \"10. Ancient India mein coastal communities salt production ke liye concentrated sea brine ko boil karke kaunsa salt obtain karti thi?\",\noptions: &#91;\n\"A. Panga salt\",\n\"B. Karkatch salt\",\n\"C. Quartz salt\",\n\"D. Crystal sugar\"\n],\ncorrect: 0,\nexplanation: \"\u2705 Correct: Option A.&lt;br>Text ke according panga salt concentrated sea brines ko boil karke obtain kiya jaata tha, jabki seawater ke evaporation se karkatch salt produce hota tha.\"\n}\n\n];\n\nlet currentQuestion = 0;\nlet score = 0;\nlet userAnswers = &#91;];\nlet userName = \"\";\n\nfunction startQuiz() {\n    userName = document.getElementById(\"userName\").value.trim();\n\n    if (!userName) return alert(\"Please enter your name.\");\n\n    document.getElementById(\"nameSection\").style.display = \"none\";\n    document.getElementById(\"quizSection\").style.display = \"block\";\n\n    showQuestion();\n    loadScoreboard();\n}\n\nfunction showQuestion() {\n    const q = questions&#91;currentQuestion];\n    const container = document.getElementById(\"questionContainer\");\n\n    container.innerHTML = `\n        &lt;div class=\"question\">${q.question}&lt;\/div>\n        &lt;div class=\"options\">\n            ${q.options.map((opt, i) => `\n                &lt;label>\n                    &lt;input type=\"radio\" name=\"option\" value=\"${i}\"\n                    ${userAnswers&#91;currentQuestion] == i ? 'checked' : ''}>\n                    ${opt}\n                &lt;\/label>\n            `).join('')}\n        &lt;\/div>\n        &lt;div class=\"explanation\" id=\"explain${currentQuestion}\">\n            ${q.explanation}\n        &lt;\/div>\n    `;\n\n    document.getElementById(\"prevBtn\").style.display =\n        currentQuestion === 0 ? \"none\" : \"inline-block\";\n\n    document.getElementById(\"nextBtn\").style.display =\n        currentQuestion === questions.length - 1 ? \"none\" : \"inline-block\";\n\n    document.getElementById(\"submitBtn\").style.display =\n        currentQuestion === questions.length - 1 ? \"inline-block\" : \"none\";\n}\n\nfunction nextQuestion() {\n    saveAnswer();\n\n    if (currentQuestion &lt; questions.length - 1) {\n        currentQuestion++;\n        showQuestion();\n    }\n}\n\nfunction prevQuestion() {\n    saveAnswer();\n\n    if (currentQuestion > 0) {\n        currentQuestion--;\n        showQuestion();\n    }\n}\n\nfunction saveAnswer() {\n    const selected = document.querySelector('input&#91;name=\"option\"]:checked');\n    userAnswers&#91;currentQuestion] = selected ? parseInt(selected.value) : null;\n}\n\nfunction submitQuiz() {\n    saveAnswer();\n    score = 0;\n\n    questions.forEach((q, index) => {\n        if (userAnswers&#91;index] === q.correct) score++;\n    });\n\n    showResults();\n    saveScore(userName, score);\n    loadScoreboard();\n}\n\nfunction showResults() {\n    const container = document.getElementById(\"questionContainer\");\n    container.innerHTML = \"\";\n\n    questions.forEach((q, index) => {\n        const selected = userAnswers&#91;index];\n        const correct = q.correct;\n\n        let optsHTML = q.options.map((opt, i) => {\n            let cls = \"\";\n\n            if (i === correct) cls = \"correct\";\n            if (selected === i &amp;&amp; selected !== correct) cls = \"wrong\";\n\n            return `&lt;label class=\"${cls}\">${opt}&lt;\/label>`;\n        }).join('');\n\n        container.innerHTML += `\n            &lt;div class=\"question\">${q.question}&lt;\/div>\n            &lt;div class=\"options\">${optsHTML}&lt;\/div>\n            &lt;div class=\"explanation\" style=\"display:block;\">\n                ${q.explanation}\n                ${selected === null || selected === undefined\n                    ? \"&lt;br>&lt;b>Your answer: Not attempted&lt;\/b>\"\n                    : \"\"}\n            &lt;\/div>\n            &lt;hr>\n        `;\n    });\n\n    document.querySelector(\".controls\").style.display = \"none\";\n\n    document.getElementById(\"result\").innerHTML = `\n        &lt;h3>Your Score: ${score} \/ ${questions.length}&lt;\/h3>\n        &lt;p>&lt;b>Percentage:&lt;\/b> ${(score \/ questions.length) * 100}%&lt;\/p>\n    `;\n}\n\nfunction saveScore(name, score) {\n    let scores = JSON.parse(localStorage.getItem(\"quizScores\")) || &#91;];\n\n    scores.push({\n        name,\n        score,\n        date: new Date().toLocaleString()\n    });\n\n    localStorage.setItem(\"quizScores\", JSON.stringify(scores));\n}\n\nfunction loadScoreboard() {\n    let scores = JSON.parse(localStorage.getItem(\"quizScores\")) || &#91;];\n\n    scores.sort((a, b) => b.score - a.score);\n\n    document.getElementById(\"scoreList\").innerHTML =\n        scores.map(s => `\n            &lt;li>${s.name} - ${s.score}\/10 (${s.date})&lt;\/li>\n        `).join('');\n}\n\n&lt;\/script>\n&lt;\/body>\n&lt;\/html><\/code><\/pre>\n\n\n\n<!--nextpage-->\n\n\n\n<p class=\"wp-block-paragraph\">ch5part8<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;!DOCTYPE html>\n&lt;html lang=\"en\">\n&lt;head>\n&lt;meta charset=\"UTF-8\">\n&lt;meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n&lt;title>Science Quiz \u2013 Methods of Separation&lt;\/title>\n\n&lt;style>\nbody {\n    font-family: Arial, sans-serif;\n    background: linear-gradient(135deg, #a1c4fd, #c2e9fb);\n    display: flex;\n    justify-content: center;\n    align-items: flex-start;\n    padding: 30px;\n    min-height: 100vh;\n}\n\n.quiz-container {\n    background: #fff;\n    padding: 25px;\n    border-radius: 12px;\n    box-shadow: 0 4px 10px rgba(0,0,0,0.2);\n    width: 90%;\n    max-width: 800px;\n}\n\nh2 { text-align: center; color: #1e3c72; }\n\n.question {\n    font-weight: bold;\n    margin: 10px 0;\n    line-height: 1.6;\n}\n\n.options label {\n    display: block;\n    margin: 8px 0;\n    padding: 10px;\n    border-radius: 6px;\n    border: 1px solid #ccc;\n    cursor: pointer;\n    transition: 0.3s;\n}\n\n.options label:hover { background: #f0f0f0; }\n\n.correct {\n    background-color: #c8f7c5 !important;\n    border-color: #28a745 !important;\n}\n\n.wrong {\n    background-color: #f8d7da !important;\n    border-color: #dc3545 !important;\n}\n\n.explanation {\n    background: #e9ecef;\n    padding: 10px;\n    margin-top: 10px;\n    border-left: 5px solid #2a5298;\n    display: none;\n    line-height: 1.6;\n}\n\n.controls { text-align: center; margin-top: 15px; }\n\nbutton {\n    background-color: #2a5298;\n    color: white;\n    border: none;\n    padding: 10px 20px;\n    border-radius: 6px;\n    cursor: pointer;\n    margin: 5px;\n}\n\nbutton:hover { background-color: #1e3c72; }\n\n#scoreboard {\n    margin-top: 25px;\n    background: #eef3f7;\n    padding: 15px;\n    border-radius: 8px;\n}\n\n#scoreboard h3 { text-align: center; }\n\nol { padding-left: 20px; }\n\n#userName {\n    padding: 10px;\n    width: 90%;\n    border: 1px solid #ccc;\n    border-radius: 6px;\n    margin-bottom: 10px;\n}\n&lt;\/style>\n&lt;\/head>\n\n&lt;body>\n\n&lt;div class=\"quiz-container\">\n\n&lt;h2>\ud83e\udde0 Science Quiz \u2013 Methods of Separation&lt;\/h2>\n\n&lt;div id=\"nameSection\">\n    &lt;p>&lt;strong>Enter your name to start:&lt;\/strong>&lt;\/p>\n    &lt;input type=\"text\" id=\"userName\" placeholder=\"Your Name\">\n    &lt;button onclick=\"startQuiz()\">Start Quiz&lt;\/button>\n&lt;\/div>\n\n&lt;div id=\"quizSection\" style=\"display:none;\">\n\n    &lt;div id=\"questionContainer\">&lt;\/div>\n\n    &lt;div class=\"controls\">\n        &lt;button onclick=\"prevQuestion()\" id=\"prevBtn\">Previous&lt;\/button>\n        &lt;button onclick=\"nextQuestion()\" id=\"nextBtn\">Next&lt;\/button>\n        &lt;button onclick=\"submitQuiz()\" id=\"submitBtn\" style=\"display:none;\">Submit&lt;\/button>\n    &lt;\/div>\n\n    &lt;div id=\"result\" style=\"text-align:center; margin-top:20px;\">&lt;\/div>\n\n    &lt;div id=\"scoreboard\">\n        &lt;h3>\ud83c\udfc6 Scoreboard&lt;\/h3>\n        &lt;ol id=\"scoreList\">&lt;\/ol>\n    &lt;\/div>\n\n&lt;\/div>\n&lt;\/div>\n\n&lt;script>\n\nconst questions = &#91;\n\n{\nquestion: \"1. Acetone ka boiling point about 56\u00b0C aur water ka boiling point 100\u00b0C hai. In dono ko distillation se separate karna possible kyun hai?\",\noptions: &#91;\n\"A. Dono ka boiling point same hai\",\n\"B. Dono ke boiling points mein sufficient difference hai\",\n\"C. Acetone water mein insoluble hai\",\n\"D. Water solid hai\"\n],\ncorrect: 1,\nexplanation: \"Acetone aur water ke boiling points mein 44\u00b0C ka difference hai. Isliye acetone pehle vapourise ho sakta hai aur distillation se separate kiya ja sakta hai.\"\n},\n\n{\nquestion: \"2. Distillation ka traditional Deg-Bhapka method Kannauj mein kis purpose ke liye famous hai?\",\noptions: &#91;\n\"A. Salt purification\",\n\"B. Natural perfumes banane ke liye\",\n\"C. Petrol banane ke liye\",\n\"D. Water filtration ke liye\"\n],\ncorrect: 1,\nexplanation: \"Uttar Pradesh ka Kannauj perfume capital ke naam se famous hai. Traditional Deg-Bhapka method se flowers aur plants se fragrances extract karke natural perfumes banaye jaate hain.\"\n},\n\n{\nquestion: \"3. First rain ke baad Earth se aane wali pleasant earthy smell ko traditional distillation se capture karke banaye gaye perfume ko kya kaha jaata hai?\",\noptions: &#91;\n\"A. Gulab Ittar\",\n\"B. Mitti ka Ittar\",\n\"C. Kesar Ittar\",\n\"D. Chandan Ittar\"\n],\ncorrect: 1,\nexplanation: \"Kannauj mein first rain ke baad aane wali earthy fragrance ko traditional Deg-Bhapka method se capture karke Mitti ka Ittar banaya jaata hai.\"\n},\n\n{\nquestion: \"4. Crude petroleum ko petrol, kerosene, diesel aur other useful fractions mein separate karne ke liye kaunsi method use hoti hai?\",\noptions: &#91;\n\"A. Simple filtration\",\n\"B. Crystallization\",\n\"C. Fractional distillation\",\n\"D. Paper chromatography\"\n],\ncorrect: 2,\nexplanation: \"Crude petroleum mein different components hote hain. Inhe unke different boiling points ke basis par fractional distillation se separate kiya jaata hai.\"\n},\n\n{\nquestion: \"5. Fractional distillation kab use ki jaati hai?\",\noptions: &#91;\n\"A. Jab components ke boiling points mein relatively small difference ho\",\n\"B. Jab mixture mein sirf ek substance ho\",\n\"C. Jab sabhi components solids hon\",\n\"D. Jab components water mein insoluble hon\"\n],\ncorrect: 0,\nexplanation: \"Fractional distillation un mixtures ke components ko separate karne ke liye use hoti hai jinke boiling points mein relatively small difference ho. Fractionating column separation ko improve karta hai.\"\n},\n\n{\nquestion: \"6. Petroleum refinery mein crude petroleum se LPG kis form mein obtain ki jaati hai?\",\noptions: &#91;\n\"A. Solid crystals ke form mein\",\n\"B. Steel cylinders mein high pressure par liquefied gas ke form mein\",\n\"C. Water solution ke form mein\",\n\"D. Paper par deposited pigment ke form mein\"\n],\ncorrect: 1,\nexplanation: \"Petroleum ka gaseous fraction pressure ke under liquefy karke cylinders mein store kiya jaata hai aur domestic fuel ke roop mein LPG use hoti hai.\"\n},\n\n{\nquestion: \"7. Paper chromatography mein black sketch-pen ink ka spot water ke rise karne par different colours mein separate ho jaata hai. Isse kya conclude hota hai?\",\noptions: &#91;\n\"A. Black ink ek pure substance hai\",\n\"B. Black ink mein different coloured components ho sakte hain\",\n\"C. Water colour ko destroy kar deta hai\",\n\"D. Paper ink ko completely absorb kar leta hai\"\n],\ncorrect: 1,\nexplanation: \"Agar black ink different colour spots mein separate ho jaati hai, to iska matlab black ink different coloured substances ka mixture hai.\"\n},\n\n{\nquestion: \"8. Paper chromatography mein water paper ke upar ink ke components ko kaise move karata hai?\",\noptions: &#91;\n\"A. Water components ko burn karta hai\",\n\"B. Liquid components ko paper ke along carry karta hai\",\n\"C. Water paper ko dissolve karta hai\",\n\"D. Water ink ko solid bana deta hai\"\n],\ncorrect: 1,\nexplanation: \"Solvent water paper mein rise karta hai aur ink ke components ko different speeds se upar carry karta hai, jisse separation hoti hai.\"\n},\n\n{\nquestion: \"9. Paper chromatography mein mixture ke components different distances tak kyun move karte hain?\",\noptions: &#91;\n\"A. Sabhi components ki mass exactly same hoti hai\",\n\"B. Components ki paper aur solvent ke saath interactions different hoti hain\",\n\"C. Paper ka colour different hota hai\",\n\"D. Water har component ko same speed se move karta hai\"\n],\ncorrect: 1,\nexplanation: \"Different components ki paper aur solvent ke saath interaction different hoti hai. Isliye woh solvent ke saath different speeds se move karte hain aur separate ho jaate hain.\"\n},\n\n{\nquestion: \"10. Paper chromatography mein kya water har mixture ke components ko separate karne ke liye suitable solvent hoga?\",\noptions: &#91;\n\"A. Haan, water har case mein suitable hai\",\n\"B. Nahi, kuch cases mein alcohol ya solvents ka mixture use karna pad sakta hai\",\n\"C. Sirf oil use kiya ja sakta hai\",\n\"D. Solvent ki kabhi zaroorat nahi hoti\"\n],\ncorrect: 1,\nexplanation: \"Har substance water mein suitable interaction nahi karta. Kuch mixtures ke liye alcohol ya different solvents\/solvent mixtures use karne pad sakte hain.\"\n}\n\n];\n\nlet currentQuestion = 0;\nlet score = 0;\nlet userAnswers = &#91;];\nlet userName = \"\";\n\nfunction startQuiz() {\n\n    userName = document.getElementById(\"userName\").value.trim();\n\n    if (!userName) return alert(\"Please enter your name.\");\n\n    document.getElementById(\"nameSection\").style.display = \"none\";\n    document.getElementById(\"quizSection\").style.display = \"block\";\n\n    showQuestion();\n    loadScoreboard();\n}\n\nfunction showQuestion() {\n\n    const q = questions&#91;currentQuestion];\n    const container = document.getElementById(\"questionContainer\");\n\n    container.innerHTML = `\n        &lt;div class=\"question\">${q.question}&lt;\/div>\n\n        &lt;div class=\"options\">\n            ${q.options.map((opt, i) => `\n                &lt;label>\n                    &lt;input type=\"radio\" name=\"option\" value=\"${i}\"\n                    ${userAnswers&#91;currentQuestion] == i ? 'checked' : ''}>\n                    ${opt}\n                &lt;\/label>\n            `).join('')}\n        &lt;\/div>\n\n        &lt;div class=\"explanation\" id=\"explain${currentQuestion}\">\n            ${q.explanation}\n        &lt;\/div>\n    `;\n\n    document.getElementById(\"prevBtn\").style.display =\n        currentQuestion === 0 ? \"none\" : \"inline-block\";\n\n    document.getElementById(\"nextBtn\").style.display =\n        currentQuestion === questions.length - 1 ? \"none\" : \"inline-block\";\n\n    document.getElementById(\"submitBtn\").style.display =\n        currentQuestion === questions.length - 1 ? \"inline-block\" : \"none\";\n}\n\nfunction nextQuestion() {\n\n    saveAnswer();\n\n    if (currentQuestion &lt; questions.length - 1) {\n        currentQuestion++;\n        showQuestion();\n    }\n}\n\nfunction prevQuestion() {\n\n    saveAnswer();\n\n    if (currentQuestion > 0) {\n        currentQuestion--;\n        showQuestion();\n    }\n}\n\nfunction saveAnswer() {\n\n    const selected = document.querySelector('input&#91;name=\"option\"]:checked');\n\n    userAnswers&#91;currentQuestion] = selected\n        ? parseInt(selected.value)\n        : null;\n}\n\nfunction submitQuiz() {\n\n    saveAnswer();\n\n    score = 0;\n\n    questions.forEach((q, index) => {\n        if (userAnswers&#91;index] === q.correct) score++;\n    });\n\n    showResults();\n    saveScore(userName, score);\n    loadScoreboard();\n}\n\nfunction showResults() {\n\n    const container = document.getElementById(\"questionContainer\");\n\n    container.innerHTML = \"\";\n\n    questions.forEach((q, index) => {\n\n        const selected = userAnswers&#91;index];\n        const correct = q.correct;\n\n        let optsHTML = q.options.map((opt, i) => {\n\n            let cls = \"\";\n\n            if (i === correct) cls = \"correct\";\n\n            if (selected === i &amp;&amp; selected !== correct) {\n                cls = \"wrong\";\n            }\n\n            return `&lt;label class=\"${cls}\">${opt}&lt;\/label>`;\n\n        }).join('');\n\n        container.innerHTML += `\n            &lt;div class=\"question\">${q.question}&lt;\/div>\n\n            &lt;div class=\"options\">${optsHTML}&lt;\/div>\n\n            &lt;div class=\"explanation\" style=\"display:block;\">\n                &lt;b>Explanation:&lt;\/b>&lt;br>\n                ${q.explanation}\n            &lt;\/div>\n            &lt;hr>\n        `;\n    });\n\n    document.querySelector(\".controls\").style.display = \"none\";\n\n    document.getElementById(\"result\").innerHTML =\n        `&lt;h3>Your Score: ${score} \/ ${questions.length}&lt;\/h3>`;\n}\n\nfunction saveScore(name, score) {\n\n    let scores = JSON.parse(localStorage.getItem(\"quizScores\")) || &#91;];\n\n    scores.push({\n        name,\n        score,\n        date: new Date().toLocaleString()\n    });\n\n    localStorage.setItem(\"quizScores\", JSON.stringify(scores));\n}\n\nfunction loadScoreboard() {\n\n    let scores = JSON.parse(localStorage.getItem(\"quizScores\")) || &#91;];\n\n    scores.sort((a, b) => b.score - a.score);\n\n    document.getElementById(\"scoreList\").innerHTML =\n        scores.map(s => `\n            &lt;li>\n                ${escapeHTML(s.name)} - ${s.score}\/10 (${escapeHTML(s.date)})\n            &lt;\/li>\n        `).join('');\n}\n\nfunction escapeHTML(value) {\n    return String(value).replace(\/&#91;&amp;&lt;>\"']\/g, char => ({\n        '&amp;': '&amp;amp;',\n        '&lt;': '&amp;lt;',\n        '>': '&amp;gt;',\n        '\"': '&amp;quot;',\n        \"'\": '&amp;#39;'\n    })&#91;char]);\n}\n\n&lt;\/script>\n\n&lt;\/body>\n&lt;\/html><\/code><\/pre>\n\n\n\n<!--nextpage-->\n\n\n\n<p class=\"wp-block-paragraph\">ch5part9<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;!DOCTYPE html>\n&lt;html lang=\"en\">\n&lt;head>\n&lt;meta charset=\"UTF-8\">\n&lt;meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n&lt;title>Apical Classes - Separation of Mixtures Quiz&lt;\/title>\n&lt;style>\nbody {\n  font-family: Arial, sans-serif;\n  background: linear-gradient(135deg, #a1c4fd, #c2e9fb);\n  display: flex;\n  justify-content: center;\n  align-items: flex-start;\n  padding: 30px;\n  min-height: 100vh;\n}\n.quiz-container {\n  background: #fff;\n  padding: 25px;\n  border-radius: 12px;\n  box-shadow: 0 4px 10px rgba(0,0,0,0.2);\n  width: 90%;\n  max-width: 800px;\n}\nh2 { text-align: center; color: #1e3c72; }\n.question { font-weight: bold; margin: 10px 0; }\n.options label {\n  display: block;\n  margin: 8px 0;\n  padding: 10px;\n  border-radius: 6px;\n  border: 1px solid #ccc;\n  cursor: pointer;\n  transition: 0.3s;\n}\n.options label:hover { background: #f0f0f0; }\n.correct {\n  background-color: #c8f7c5 !important;\n  border-color: #28a745 !important;\n}\n.wrong {\n  background-color: #f8d7da !important;\n  border-color: #dc3545 !important;\n}\n.explanation {\n  background: #e9ecef;\n  padding: 10px;\n  margin-top: 10px;\n  border-left: 5px solid #2a5298;\n  display: none;\n}\n.controls { text-align: center; margin-top: 15px; }\nbutton {\n  background-color: #2a5298;\n  color: white;\n  border: none;\n  padding: 10px 20px;\n  border-radius: 6px;\n  cursor: pointer;\n  margin: 5px;\n}\nbutton:hover { background-color: #1e3c72; }\n#scoreboard {\n  margin-top: 25px;\n  background: #eef3f7;\n  padding: 15px;\n  border-radius: 8px;\n}\n#scoreboard h3 { text-align: center; }\nol { padding-left: 20px; }\n#userName {\n  padding: 10px;\n  width: 65%;\n  border: 1px solid #ccc;\n  border-radius: 6px;\n}\n&lt;\/style>\n&lt;\/head>\n&lt;body>\n\n&lt;div class=\"quiz-container\">\n  &lt;h2>\ud83e\uddea APICAL CLASSES&lt;br>Separation of Mixtures Quiz&lt;\/h2>\n\n  &lt;div id=\"nameSection\">\n    &lt;p>&lt;strong>Enter your name to start:&lt;\/strong>&lt;\/p>\n    &lt;input type=\"text\" id=\"userName\" placeholder=\"Your Name\">\n    &lt;button onclick=\"startQuiz()\">Start Quiz&lt;\/button>\n  &lt;\/div>\n\n  &lt;div id=\"quizSection\" style=\"display:none;\">\n    &lt;div id=\"questionContainer\">&lt;\/div>\n\n    &lt;div class=\"controls\">\n      &lt;button onclick=\"prevQuestion()\" id=\"prevBtn\">Previous&lt;\/button>\n      &lt;button onclick=\"nextQuestion()\" id=\"nextBtn\">Next&lt;\/button>\n      &lt;button onclick=\"submitQuiz()\" id=\"submitBtn\" style=\"display:none;\">Submit&lt;\/button>\n    &lt;\/div>\n\n    &lt;div id=\"result\" style=\"text-align:center; margin-top:20px;\">&lt;\/div>\n\n    &lt;div id=\"scoreboard\">\n      &lt;h3>\ud83c\udfc6 Scoreboard&lt;\/h3>\n      &lt;ol id=\"scoreList\">&lt;\/ol>\n    &lt;\/div>\n  &lt;\/div>\n&lt;\/div>\n\n&lt;script>\nconst questions = &#91;\n  {\n    question: \"1. Water aur mustard oil ko ek container mein mix karne par kya hota hai?\",\n    options: &#91;\n      \"A. Dono completely mix ho jaate hain\",\n      \"B. Dono separate layers banaate hain\",\n      \"C. Dono gas ban jaate hain\",\n      \"D. Dono solid ban jaate hain\"\n    ],\n    correct: 1,\n    explanation: \"Water aur mustard oil immiscible liquids hain, isliye ye ek-doosre mein mix nahi hote aur separate layers banaate hain.\"\n  },\n  {\n    question: \"2. Immiscible liquids ka correct example kaunsa hai?\",\n    options: &#91;\n      \"A. Water aur alcohol\",\n      \"B. Water aur sugar solution\",\n      \"C. Water aur mustard oil\",\n      \"D. Water aur salt\"\n    ],\n    correct: 2,\n    explanation: \"Mustard oil aur water ek-doosre mein dissolve nahi hote, isliye ye immiscible liquids ka example hain.\"\n  },\n  {\n    question: \"3. 5 mL mustard oil aur 20 mL water ko separating funnel mein daalne ke baad kaunsi layer upar hogi?\",\n    options: &#91;\n      \"A. Water\",\n      \"B. Mustard oil\",\n      \"C. Dono same layer mein honge\",\n      \"D. Koi layer nahi banegi\"\n    ],\n    correct: 1,\n    explanation: \"Mustard oil ki density water se kam hoti hai, isliye mustard oil upper layer aur water lower layer banata hai.\"\n  },\n  {\n    question: \"4. Mustard oil aur water ko separate karne ke liye kaunsa apparatus suitable hai?\",\n    options: &#91;\n      \"A. Separating funnel\",\n      \"B. Evaporating dish\",\n      \"C. Thermometer\",\n      \"D. Filter paper only\"\n    ],\n    correct: 0,\n    explanation: \"Separating funnel ka use two immiscible liquids ko unki separate layers ke basis par separate karne ke liye kiya jaata hai.\"\n  },\n  {\n    question: \"5. Separating funnel mein mustard oil aur water ki lower layer ko pehle collect karne ke liye kya kiya jaata hai?\",\n    options: &#91;\n      \"A. Funnel ko heat kiya jaata hai\",\n      \"B. Stopcock slowly open kiya jaata hai\",\n      \"C. Mixture ko filter kiya jaata hai\",\n      \"D. Funnel ko shake kiya jaata hai\"\n    ],\n    correct: 1,\n    explanation: \"Separating funnel ka stopcock slowly open karke lower layer, yani water, ko carefully container mein collect kiya jaata hai.\"\n  },\n  {\n    question: \"6. Separating funnel mein water ko almost completely drain karne ke baad stopcock kab close karna chahiye?\",\n    options: &#91;\n      \"A. Oil layer completely drain hone ke baad\",\n      \"B. Jab water almost fully drain ho jaaye\",\n      \"C. Mixture daalne se pehle\",\n      \"D. Jab funnel empty ho jaaye\"\n    ],\n    correct: 1,\n    explanation: \"Water lower layer mein hota hai. Water almost drain hone par stopcock close karke oil ko alag collect kiya jaata hai.\"\n  },\n  {\n    question: \"7. Hydrogen aur oxygen gases ka mixture generally homogeneous kyun hota hai?\",\n    options: &#91;\n      \"A. Gas particles freely move karte hain aur uniformly mix ho jaate hain\",\n      \"B. Gas particles move nahi karte\",\n      \"C. Gases hamesha solid hoti hain\",\n      \"D. Hydrogen aur oxygen immiscible liquids hain\"\n    ],\n    correct: 0,\n    explanation: \"Gas particles freely move in all directions karte hain, isliye gases easily aur uniformly mix ho jaati hain.\"\n  },\n  {\n    question: \"8. Inmein se kaunsa gas-containing heterogeneous mixture hai?\",\n    options: &#91;\n      \"A. Hydrogen + oxygen\",\n      \"B. Air mein smoke\",\n      \"C. Oxygen + nitrogen\",\n      \"D. Hydrogen + nitrogen\"\n    ],\n    correct: 1,\n    explanation: \"Smoke mein solid particles air mein suspended hote hain, isliye smoke ek heterogeneous mixture hai.\"\n  },\n  {\n    question: \"9. Fog ko heterogeneous mixture kyun kaha jaata hai?\",\n    options: &#91;\n      \"A. Ismein solid salt crystals hote hain\",\n      \"B. Ismein tiny liquid water droplets air mein suspended hote hain\",\n      \"C. Ismein sirf gases hoti hain\",\n      \"D. Ismein oil aur water ki layers hoti hain\"\n    ],\n    correct: 1,\n    explanation: \"Fog mein tiny liquid water droplets air mein suspended hote hain, isliye ye heterogeneous mixture hai.\"\n  },\n  {\n    question: \"10. Iron nails aur sawdust ke mixture ko separate karne ke liye kaunsi property useful hoti hai?\",\n    options: &#91;\n      \"A. Iron ki magnetic property\",\n      \"B. Sawdust ki sweetness\",\n      \"C. Water ki boiling point\",\n      \"D. Oil ki density\"\n    ],\n    correct: 0,\n    explanation: \"Iron magnetic hota hai, isliye magnet ki help se iron nails ko sawdust se easily separate kiya ja sakta hai.\"\n  }\n];\n\nlet currentQuestion = 0;\nlet score = 0;\nlet userAnswers = &#91;];\nlet userName = \"\";\nlet quizSubmitted = false;\n\nfunction startQuiz() {\n  userName = document.getElementById(\"userName\").value.trim();\n\n  if (!userName) {\n    alert(\"Please enter your name.\");\n    return;\n  }\n\n  document.getElementById(\"nameSection\").style.display = \"none\";\n  document.getElementById(\"quizSection\").style.display = \"block\";\n\n  showQuestion();\n  loadScoreboard();\n}\n\nfunction showQuestion() {\n  const q = questions&#91;currentQuestion];\n  const container = document.getElementById(\"questionContainer\");\n\n  container.innerHTML = `\n    &lt;div class=\"question\">${q.question}&lt;\/div>\n    &lt;div class=\"options\">\n      ${q.options.map((opt, i) => `\n        &lt;label>\n          &lt;input type=\"radio\" name=\"option\" value=\"${i}\"\n            ${userAnswers&#91;currentQuestion] === i ? \"checked\" : \"\"}>\n          ${opt}\n        &lt;\/label>\n      `).join(\"\")}\n    &lt;\/div>\n    &lt;div class=\"explanation\" id=\"explain${currentQuestion}\">${q.explanation}&lt;\/div>\n  `;\n\n  document.getElementById(\"prevBtn\").style.display =\n    currentQuestion === 0 ? \"none\" : \"inline-block\";\n\n  document.getElementById(\"nextBtn\").style.display =\n    currentQuestion === questions.length - 1 ? \"none\" : \"inline-block\";\n\n  document.getElementById(\"submitBtn\").style.display =\n    currentQuestion === questions.length - 1 ? \"inline-block\" : \"none\";\n}\n\nfunction saveAnswer() {\n  const selected = document.querySelector('input&#91;name=\"option\"]:checked');\n  userAnswers&#91;currentQuestion] = selected ? parseInt(selected.value) : null;\n}\n\nfunction nextQuestion() {\n  saveAnswer();\n\n  if (currentQuestion &lt; questions.length - 1) {\n    currentQuestion++;\n    showQuestion();\n  }\n}\n\nfunction prevQuestion() {\n  saveAnswer();\n\n  if (currentQuestion > 0) {\n    currentQuestion--;\n    showQuestion();\n  }\n}\n\nfunction submitQuiz() {\n  if (quizSubmitted) return;\n\n  saveAnswer();\n\n  score = 0;\n\n  questions.forEach((q, index) => {\n    if (userAnswers&#91;index] === q.correct) {\n      score++;\n    }\n  });\n\n  quizSubmitted = true;\n  showResults();\n  saveScore(userName, score);\n  loadScoreboard();\n}\n\nfunction showResults() {\n  const container = document.getElementById(\"questionContainer\");\n  container.innerHTML = \"\";\n\n  questions.forEach((q, index) => {\n    const selected = userAnswers&#91;index];\n\n    let optsHTML = q.options.map((opt, i) => {\n      let cls = \"\";\n\n      if (i === q.correct) {\n        cls = \"correct\";\n      }\n\n      if (selected === i &amp;&amp; selected !== q.correct) {\n        cls = \"wrong\";\n      }\n\n      return `&lt;label class=\"${cls}\">${opt}&lt;\/label>`;\n    }).join(\"\");\n\n    container.innerHTML += `\n      &lt;div class=\"question\">${q.question}&lt;\/div>\n      &lt;div class=\"options\">${optsHTML}&lt;\/div>\n      &lt;div class=\"explanation\" style=\"display:block;\">\n        &lt;strong>Explanation:&lt;\/strong> ${q.explanation}\n      &lt;\/div>\n      &lt;hr>\n    `;\n  });\n\n  document.querySelector(\".controls\").style.display = \"none\";\n\n  document.getElementById(\"result\").innerHTML = `\n    &lt;h3>Your Score: ${score} \/ ${questions.length}&lt;\/h3>\n    &lt;p>${score === 10 ? \"Excellent! Perfect Score!\" :\n      score >= 7 ? \"Very Good! Keep Practising!\" :\n      score >= 5 ? \"Good effort! Revise and try again!\" :\n      \"Keep practising. You can improve!\"}&lt;\/p>\n  `;\n}\n\nfunction saveScore(name, score) {\n  let scores = JSON.parse(localStorage.getItem(\"quizScores\")) || &#91;];\n\n  scores.push({\n    name: name,\n    score: score,\n    date: new Date().toLocaleString()\n  });\n\n  localStorage.setItem(\"quizScores\", JSON.stringify(scores));\n}\n\nfunction loadScoreboard() {\n  let scores = JSON.parse(localStorage.getItem(\"quizScores\")) || &#91;];\n\n  scores.sort((a, b) => b.score - a.score);\n\n  document.getElementById(\"scoreList\").innerHTML =\n    scores.map(s =>\n      `&lt;li>${s.name} - ${s.score}\/10 (${s.date})&lt;\/li>`\n    ).join(\"\");\n}\n&lt;\/script>\n\n&lt;\/body>\n&lt;\/html><\/code><\/pre>\n\n\n\n<!--nextpage-->\n\n\n\n<p class=\"wp-block-paragraph\">ch5part10<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;!DOCTYPE html>\n&lt;html lang=\"en\">\n&lt;head>\n&lt;meta charset=\"UTF-8\">\n&lt;meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n&lt;title>APICAL CLASSES - Science Quiz&lt;\/title>\n&lt;style>\n  body {\n    font-family: Arial, sans-serif;\n    background: linear-gradient(135deg, #a1c4fd, #c2e9fb);\n    display: flex;\n    justify-content: center;\n    align-items: flex-start;\n    padding: 30px;\n    min-height: 100vh;\n    margin: 0;\n  }\n  .quiz-container {\n    background: #fff;\n    padding: 25px;\n    border-radius: 12px;\n    box-shadow: 0 4px 10px rgba(0,0,0,0.2);\n    width: 90%;\n    max-width: 800px;\n  }\n  h2 { text-align: center; color: #1e3c72; }\n  .branding {\n    text-align: center;\n    color: #2a5298;\n    font-weight: bold;\n    letter-spacing: 1px;\n  }\n  .question { font-weight: bold; margin: 15px 0; line-height: 1.6; }\n  .options label {\n    display: block;\n    margin: 8px 0;\n    padding: 10px;\n    border-radius: 6px;\n    border: 1px solid #ccc;\n    cursor: pointer;\n    transition: 0.3s;\n    line-height: 1.5;\n  }\n  .options label:hover { background: #f0f0f0; }\n  .options input { margin-right: 8px; }\n  .correct {\n    background-color: #c8f7c5 !important;\n    border-color: #28a745 !important;\n  }\n  .wrong {\n    background-color: #f8d7da !important;\n    border-color: #dc3545 !important;\n  }\n  .explanation {\n    background: #e9ecef;\n    padding: 12px;\n    margin-top: 10px;\n    border-left: 5px solid #2a5298;\n    display: none;\n    line-height: 1.6;\n    border-radius: 4px;\n  }\n  .controls { text-align: center; margin-top: 15px; }\n  button {\n    background-color: #2a5298;\n    color: white;\n    border: none;\n    padding: 10px 20px;\n    border-radius: 6px;\n    cursor: pointer;\n    margin: 5px;\n  }\n  button:hover { background-color: #1e3c72; }\n  input&#91;type=\"text\"] {\n    padding: 10px;\n    width: 65%;\n    border: 1px solid #ccc;\n    border-radius: 6px;\n  }\n  #scoreboard {\n    margin-top: 25px;\n    background: #eef3f7;\n    padding: 15px;\n    border-radius: 8px;\n  }\n  #scoreboard h3 { text-align: center; }\n  ol { padding-left: 20px; }\n  hr { border: 0; border-top: 1px solid #ddd; margin: 20px 0; }\n  @media(max-width:600px) {\n    body { padding: 10px; }\n    .quiz-container { width: 100%; padding: 15px; }\n    input&#91;type=\"text\"] { width: 90%; }\n  }\n&lt;\/style>\n&lt;\/head>\n&lt;body>\n\n&lt;div class=\"quiz-container\">\n  &lt;div class=\"branding\">APICAL CLASSES&lt;\/div>\n  &lt;h2>\ud83e\udde0 Science Quiz \u2013 Sublimation, Alloys &amp; Suspensions&lt;\/h2>\n\n  &lt;div id=\"nameSection\">\n    &lt;p>&lt;strong>Enter your name to start:&lt;\/strong>&lt;\/p>\n    &lt;input type=\"text\" id=\"userName\" placeholder=\"Your Name\">\n    &lt;button onclick=\"startQuiz()\">Start Quiz&lt;\/button>\n  &lt;\/div>\n\n  &lt;div id=\"quizSection\" style=\"display:none;\">\n    &lt;div id=\"questionContainer\">&lt;\/div>\n\n    &lt;div class=\"controls\">\n      &lt;button onclick=\"prevQuestion()\" id=\"prevBtn\">Previous&lt;\/button>\n      &lt;button onclick=\"nextQuestion()\" id=\"nextBtn\">Next&lt;\/button>\n      &lt;button onclick=\"submitQuiz()\" id=\"submitBtn\" style=\"display:none;\">Submit&lt;\/button>\n    &lt;\/div>\n\n    &lt;div id=\"result\" style=\"text-align:center; margin-top:20px;\">&lt;\/div>\n\n    &lt;div id=\"scoreboard\">\n      &lt;h3>\ud83c\udfc6 Scoreboard&lt;\/h3>\n      &lt;ol id=\"scoreList\">&lt;\/ol>\n    &lt;\/div>\n  &lt;\/div>\n&lt;\/div>\n\n&lt;script>\nconst questions = &#91;\n  {\n    question: \"1. Camphor aur sand ke mixture ko heat karne par camphor ka kya hota hai?\",\n    options: &#91;\n      \"A. Camphor liquid mein convert hota hai\",\n      \"B. Camphor directly solid se vapour mein convert hota hai\",\n      \"C. Camphor sand ke saath dissolve hota hai\",\n      \"D. Camphor burn hokar water banata hai\"\n    ],\n    correct: 1,\n    explanation: \"Camphor melting point tak liquid bane bina solid se directly vapour mein change hota hai. Is process ko &lt;strong>sublimation&lt;\/strong> kehte hain.\"\n  },\n  {\n    question: \"2. Camphor aur sand ko heat karke separate karne ka main reason kya hai?\",\n    options: &#91;\n      \"A. Dono substances sublime karte hain\",\n      \"B. Sirf sand sublime karta hai\",\n      \"C. Camphor sublime karta hai, lekin sand nahi\",\n      \"D. Sand vapour ban jaata hai\"\n    ],\n    correct: 2,\n    explanation: \"Heating par &lt;strong>camphor vapour&lt;\/strong> ban kar upar chala jaata hai, jabki sand china dish mein remain karta hai.\"\n  },\n  {\n    question: \"3. Camphor ke vapours glass funnel ki inner wall ko touch karne par kya hota hai?\",\n    options: &#91;\n      \"A. Vapours liquid water mein change hote hain\",\n      \"B. Vapours wapas solid camphor mein change hote hain\",\n      \"C. Vapours gas hi rehte hain\",\n      \"D. Vapours sand mein change hote hain\"\n    ],\n    correct: 1,\n    explanation: \"Cooling par camphor vapours directly solid camphor mein convert ho jaate hain. Is process ko &lt;strong>deposition&lt;\/strong> kehte hain.\"\n  },\n  {\n    question: \"4. Inmein se kaunsa camphor ke alawa sublimation ka example hai?\",\n    options: &#91;\n      \"A. Naphthalene\",\n      \"B. Common salt\",\n      \"C. Sand\",\n      \"D. Sugar\"\n    ],\n    correct: 0,\n    explanation: \"&lt;strong>Naphthalene&lt;\/strong> ek sublimable substance hai. Isliye ise camphor ki jagah sublimation experiment mein use kiya ja sakta hai.\"\n  },\n  {\n    question: \"5. Solid carbon dioxide, jise dry ice kaha jaata hai, heating par kya karta hai?\",\n    options: &#91;\n      \"A. Pehle liquid aur phir solid banta hai\",\n      \"B. Directly solid se vapour mein change hota hai\",\n      \"C. Sirf melt hota hai\",\n      \"D. Sand mein change hota hai\"\n    ],\n    correct: 1,\n    explanation: \"&lt;strong>Dry ice (solid CO\u2082)&lt;\/strong> sublimation show karta hai, yani liquid state mein aaye bina solid se gas mein change hota hai.\"\n  },\n  {\n    question: \"6. Do ya more metals, ya metal aur non-metal ka homogeneous mixture kya kehlata hai?\",\n    options: &#91;\n      \"A. Suspension\",\n      \"B. Alloy\",\n      \"C. Solution only\",\n      \"D. Emulsion\"\n    ],\n    correct: 1,\n    explanation: \"Do ya more metals, ya metal + non-metal ka &lt;strong>homogeneous mixture&lt;\/strong> alloy kehlata hai, jaise brass aur bronze.\"\n  },\n  {\n    question: \"7. Brass approximately kis composition ka alloy hai?\",\n    options: &#91;\n      \"A. 80% copper + 20% zinc\",\n      \"B. 80% zinc + 20% copper\",\n      \"C. 80% copper + 20% tin\",\n      \"D. 50% copper + 50% zinc\"\n    ],\n    correct: 0,\n    explanation: \"&lt;strong>Brass&lt;\/strong> approximately 80% copper aur 20% zinc ka alloy hai.\"\n  },\n  {\n    question: \"8. Sand particles water mein clearly visible hain aur dissolve nahi hote. Aisa heterogeneous mixture kya kehlata hai?\",\n    options: &#91;\n      \"A. Solution\",\n      \"B. Suspension\",\n      \"C. Alloy\",\n      \"D. Pure substance\"\n    ],\n    correct: 1,\n    explanation: \"Suspension mein solid particles liquid mein &lt;strong>dissolve nahi hote&lt;\/strong>, suspended rehte hain aur generally naked eye se visible hote hain.\"\n  },\n  {\n    question: \"9. Muddy water ko kuch time undisturbed rakhne par heavier mud particles kya karte hain?\",\n    options: &#91;\n      \"A. Vapour ban jaate hain\",\n      \"B. Bottom par settle ho jaate hain\",\n      \"C. Water mein completely dissolve ho jaate hain\",\n      \"D. Gas mein convert ho jaate hain\"\n    ],\n    correct: 1,\n    explanation: \"Mud ke heavier particles gravity ki wajah se &lt;strong>bottom par settle&lt;\/strong> ho jaate hain. Is process ko &lt;strong>sedimentation&lt;\/strong> kaha jaata hai.\"\n  },\n  {\n    question: \"10. Muddy water ko filter karne ke baad bhi water cloudy rahe, to tiny particles ko separate karne ke liye kaunsi techniques use ki ja sakti hain?\",\n    options: &#91;\n      \"A. Sublimation only\",\n      \"B. Centrifugation and\/or coagulation\",\n      \"C. Distillation only\",\n      \"D. Chromatography only\"\n    ],\n    correct: 1,\n    explanation: \"Bahut tiny suspended particles simple filtration se completely remove nahi hote. Aise cases mein &lt;strong>centrifugation aur\/or coagulation&lt;\/strong> ka use kiya ja sakta hai.\"\n  }\n];\n\nlet currentQuestion = 0;\nlet score = 0;\nlet userAnswers = &#91;];\nlet userName = \"\";\n\nfunction startQuiz() {\n  userName = document.getElementById(\"userName\").value.trim();\n\n  if (!userName) {\n    alert(\"Please enter your name.\");\n    return;\n  }\n\n  document.getElementById(\"nameSection\").style.display = \"none\";\n  document.getElementById(\"quizSection\").style.display = \"block\";\n\n  showQuestion();\n  loadScoreboard();\n}\n\nfunction showQuestion() {\n  const q = questions&#91;currentQuestion];\n  const container = document.getElementById(\"questionContainer\");\n\n  container.innerHTML = `\n    &lt;div class=\"question\">${q.question}&lt;\/div>\n    &lt;div class=\"options\">\n      ${q.options.map((opt, i) => `\n        &lt;label>\n          &lt;input type=\"radio\" name=\"option\" value=\"${i}\"\n          ${userAnswers&#91;currentQuestion] === i ? \"checked\" : \"\"}>\n          ${opt}\n        &lt;\/label>\n      `).join(\"\")}\n    &lt;\/div>\n    &lt;div class=\"explanation\" id=\"explain${currentQuestion}\">\n      ${q.explanation}\n    &lt;\/div>\n  `;\n\n  document.getElementById(\"prevBtn\").style.display =\n    currentQuestion === 0 ? \"none\" : \"inline-block\";\n\n  document.getElementById(\"nextBtn\").style.display =\n    currentQuestion === questions.length - 1 ? \"none\" : \"inline-block\";\n\n  document.getElementById(\"submitBtn\").style.display =\n    currentQuestion === questions.length - 1 ? \"inline-block\" : \"none\";\n}\n\nfunction saveAnswer() {\n  const selected = document.querySelector('input&#91;name=\"option\"]:checked');\n  userAnswers&#91;currentQuestion] = selected ? parseInt(selected.value) : null;\n}\n\nfunction nextQuestion() {\n  saveAnswer();\n\n  if (currentQuestion &lt; questions.length - 1) {\n    currentQuestion++;\n    showQuestion();\n  }\n}\n\nfunction prevQuestion() {\n  saveAnswer();\n\n  if (currentQuestion > 0) {\n    currentQuestion--;\n    showQuestion();\n  }\n}\n\nfunction submitQuiz() {\n  saveAnswer();\n  score = 0;\n\n  questions.forEach((q, index) => {\n    if (userAnswers&#91;index] === q.correct) {\n      score++;\n    }\n  });\n\n  showResults();\n  saveScore(userName, score);\n  loadScoreboard();\n}\n\nfunction showResults() {\n  const container = document.getElementById(\"questionContainer\");\n  container.innerHTML = \"\";\n\n  questions.forEach((q, index) => {\n    const selected = userAnswers&#91;index];\n\n    let optsHTML = q.options.map((opt, i) => {\n      let cls = \"\";\n\n      if (i === q.correct) cls = \"correct\";\n      if (selected === i &amp;&amp; selected !== q.correct) cls = \"wrong\";\n\n      return `&lt;label class=\"${cls}\">${opt}&lt;\/label>`;\n    }).join(\"\");\n\n    container.innerHTML += `\n      &lt;div class=\"question\">${q.question}&lt;\/div>\n      &lt;div class=\"options\">${optsHTML}&lt;\/div>\n      &lt;div class=\"explanation\" style=\"display:block;\">\n        &lt;strong>Explanation:&lt;\/strong> ${q.explanation}\n      &lt;\/div>\n      &lt;hr>\n    `;\n  });\n\n  document.querySelector(\".controls\").style.display = \"none\";\n\n  document.getElementById(\"result\").innerHTML =\n    `&lt;h3>Your Score: ${score} \/ ${questions.length}&lt;\/h3>`;\n}\n\nfunction saveScore(name, score) {\n  let scores = JSON.parse(localStorage.getItem(\"quizScores\")) || &#91;];\n\n  scores.push({\n    name,\n    score,\n    date: new Date().toLocaleString()\n  });\n\n  localStorage.setItem(\"quizScores\", JSON.stringify(scores));\n}\n\nfunction loadScoreboard() {\n  let scores = JSON.parse(localStorage.getItem(\"quizScores\")) || &#91;];\n\n  scores.sort((a, b) => b.score - a.score);\n\n  document.getElementById(\"scoreList\").innerHTML = scores.map(s => {\n    const safeName = escapeHTML(s.name);\n    const safeDate = escapeHTML(s.date);\n    return `&lt;li>${safeName} - ${s.score}\/10 (${safeDate})&lt;\/li>`;\n  }).join(\"\");\n}\n\nfunction escapeHTML(value) {\n  return String(value).replace(\/&#91;&amp;&lt;>\"']\/g, char => ({\n    \"&amp;\": \"&amp;amp;\",\n    \"&lt;\": \"&amp;lt;\",\n    \">\": \"&amp;gt;\",\n    '\"': \"&amp;quot;\",\n    \"'\": \"&amp;#39;\"\n  })&#91;char]);\n}\n&lt;\/script>\n\n&lt;\/body>\n&lt;\/html><\/code><\/pre>\n\n\n\n<!--nextpage-->\n\n\n\n<p class=\"wp-block-paragraph\">ch5part11<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;!DOCTYPE html>\n&lt;html lang=\"en\">\n&lt;head>\n  &lt;meta charset=\"UTF-8\">\n  &lt;meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n  &lt;title>Science Quiz \u2013 Centrifugation and Coagulation&lt;\/title>\n  &lt;style>\n    body {\n      font-family: Arial, sans-serif;\n      background: linear-gradient(135deg, #a1c4fd, #c2e9fb);\n      display: flex;\n      justify-content: center;\n      align-items: flex-start;\n      padding: 30px;\n      min-height: 100vh;\n    }\n    .quiz-container {\n      background: #fff;\n      padding: 25px;\n      border-radius: 12px;\n      box-shadow: 0 4px 10px rgba(0,0,0,0.2);\n      width: 90%;\n      max-width: 800px;\n    }\n    h2 { text-align: center; color: #1e3c72; }\n    .question { font-weight: bold; margin: 10px 0; }\n    .options label {\n      display: block;\n      margin: 8px 0;\n      padding: 10px;\n      border-radius: 6px;\n      border: 1px solid #ccc;\n      cursor: pointer;\n      transition: 0.3s;\n    }\n    .options label:hover { background: #f0f0f0; }\n    .correct {\n      background-color: #c8f7c5 !important;\n      border-color: #28a745 !important;\n    }\n    .wrong {\n      background-color: #f8d7da !important;\n      border-color: #dc3545 !important;\n    }\n    .explanation {\n      background: #e9ecef;\n      padding: 10px;\n      margin-top: 10px;\n      border-left: 5px solid #2a5298;\n      display: none;\n    }\n    .controls { text-align: center; margin-top: 15px; }\n    button {\n      background-color: #2a5298;\n      color: white;\n      border: none;\n      padding: 10px 20px;\n      border-radius: 6px;\n      cursor: pointer;\n      margin: 5px;\n    }\n    button:hover { background-color: #1e3c72; }\n    #scoreboard {\n      margin-top: 25px;\n      background: #eef3f7;\n      padding: 15px;\n      border-radius: 8px;\n    }\n    #scoreboard h3 { text-align: center; }\n    ol { padding-left: 20px; }\n    #userName {\n      padding: 10px;\n      width: 65%;\n      border: 1px solid #ccc;\n      border-radius: 6px;\n    }\n  &lt;\/style>\n&lt;\/head>\n&lt;body>\n\n&lt;div class=\"quiz-container\">\n  &lt;h2>\ud83e\udde0 Science Quiz \u2013 Centrifugation and Coagulation&lt;\/h2>\n\n  &lt;div id=\"nameSection\">\n    &lt;p>&lt;strong>Enter your name to start:&lt;\/strong>&lt;\/p>\n    &lt;input type=\"text\" id=\"userName\" placeholder=\"Your Name\">\n    &lt;button onclick=\"startQuiz()\">Start Quiz&lt;\/button>\n  &lt;\/div>\n\n  &lt;div id=\"quizSection\" style=\"display:none;\">\n    &lt;div id=\"questionContainer\">&lt;\/div>\n\n    &lt;div class=\"controls\">\n      &lt;button onclick=\"prevQuestion()\" id=\"prevBtn\">Previous&lt;\/button>\n      &lt;button onclick=\"nextQuestion()\" id=\"nextBtn\">Next&lt;\/button>\n      &lt;button onclick=\"submitQuiz()\" id=\"submitBtn\" style=\"display:none;\">Submit&lt;\/button>\n    &lt;\/div>\n\n    &lt;div id=\"result\" style=\"text-align:center; margin-top:20px;\">&lt;\/div>\n\n    &lt;div id=\"scoreboard\">\n      &lt;h3>\ud83c\udfc6 Scoreboard&lt;\/h3>\n      &lt;ol id=\"scoreList\">&lt;\/ol>\n    &lt;\/div>\n  &lt;\/div>\n&lt;\/div>\n\n&lt;script>\nconst questions = &#91;\n  {\n    question: \"1. Centrifugation mein mixture ko separate karne ke liye kya kiya jaata hai?\",\n    options: &#91;\n      \"A. Mixture ko slowly heat kiya jaata hai\",\n      \"B. Mixture ko high speed par spin kiya jaata hai\",\n      \"C. Mixture ko freeze kiya jaata hai\",\n      \"D. Mixture ko sunlight mein rakha jaata hai\"\n    ],\n    correct: 1,\n    explanation: \"Centrifugation mein mixture ko tube ke andar &lt;b>high speed par spin&lt;\/b> kiya jaata hai, jisse different components separate hote hain.\"\n  },\n  {\n    question: \"2. Centrifugation ke during heavier particles tube mein kahan move karte hain?\",\n    options: &#91;\n      \"A. Centre ki taraf\",\n      \"B. Outwards aur bottom ki taraf\",\n      \"C. Sirf surface par\",\n      \"D. Vapour ke form mein bahar\"\n    ],\n    correct: 1,\n    explanation: \"Centrifugal force heavier particles ko &lt;b>outwards move&lt;\/b> karati hai, jahan woh tube ke bottom par settle ho jaate hain.\"\n  },\n  {\n    question: \"3. Centrifugation ke baad lighter liquid generally kahan remain karta hai?\",\n    options: &#91;\n      \"A. Tube ke top par\",\n      \"B. Tube ke bottom par\",\n      \"C. Tube ke bahar\",\n      \"D. Solid form mein\"\n    ],\n    correct: 0,\n    explanation: \"Heavier particles bottom par settle ho jaate hain, jabki &lt;b>lighter liquid top par&lt;\/b> remain karta hai.\"\n  },\n  {\n    question: \"4. Blood ko centrifugation se separate karne par kaunse components alag kiye ja sakte hain?\",\n    options: &#91;\n      \"A. Red blood cells aur plasma\",\n      \"B. Water aur salt\",\n      \"C. Sugar aur water\",\n      \"D. Oxygen aur nitrogen\"\n    ],\n    correct: 0,\n    explanation: \"Laboratories mein centrifugation ka important use &lt;b>blood ke red blood cells aur plasma&lt;\/b> ko separate karna hai.\"\n  },\n  {\n    question: \"5. Paperfuge kya hai?\",\n    options: &#91;\n      \"A. Electricity se chalne wali large centrifuge machine\",\n      \"B. Hand-powered, low-cost centrifugation device\",\n      \"C. Water purification chemical\",\n      \"D. Paper chromatography ka solvent\"\n    ],\n    correct: 1,\n    explanation: \"&lt;b>Paperfuge&lt;\/b> ek simple, low-cost aur &lt;b>hand-powered device&lt;\/b> hai jo electricity ke bina centrifugation kar sakta hai.\"\n  },\n  {\n    question: \"6. Paperfuge jaise low-cost device ka remote areas mein kya benefit ho sakta hai?\",\n    options: &#91;\n      \"A. Sirf cooking mein help karta hai\",\n      \"B. Blood samples ko separate karke diseases detect karne mein help karta hai\",\n      \"C. Petrol refine karta hai\",\n      \"D. Food ko freeze karta hai\"\n    ],\n    correct: 1,\n    explanation: \"Paperfuge blood sample ke components ko separate karke &lt;b>malaria aur anaemia&lt;\/b> jaise diseases ki detection mein help kar sakta hai, especially remote areas mein.\"\n  },\n  {\n    question: \"7. Muddy water mein powdered alum (fitkari) add karne par fine suspended particles ke saath kya hota hai?\",\n    options: &#91;\n      \"A. Woh completely dissolve ho jaate hain\",\n      \"B. Woh clump together karke larger particles banaate hain\",\n      \"C. Woh vapour ban jaate hain\",\n      \"D. Woh gas mein convert ho jaate hain\"\n    ],\n    correct: 1,\n    explanation: \"Alum fine suspended particles ko &lt;b>clump together&lt;\/b> kar deta hai. Is process ko &lt;b>coagulation&lt;\/b> kehte hain.\"\n  },\n  {\n    question: \"8. Muddy water purification mein alum ko kya kaha jaata hai?\",\n    options: &#91;\n      \"A. Solvent\",\n      \"B. Solute\",\n      \"C. Coagulant\",\n      \"D. Indicator\"\n    ],\n    correct: 2,\n    explanation: \"Alum coagulation karata hai, isliye alum ko &lt;b>coagulant&lt;\/b> kaha jaata hai.\"\n  },\n  {\n    question: \"9. Alum ke addition ke baad bane larger clumps muddy water se kaise separate kiye ja sakte hain?\",\n    options: &#91;\n      \"A. Sedimentation ke baad decantation ya filtration se\",\n      \"B. Sublimation se\",\n      \"C. Chromatography se\",\n      \"D. Distillation se only\"\n    ],\n    correct: 0,\n    explanation: \"Coagulation se larger clumps bante hain. Ye &lt;b>gravity se settle&lt;\/b> hote hain aur phir &lt;b>decantation ya filtration&lt;\/b> se water se separate kiye ja sakte hain.\"\n  },\n  {\n    question: \"10. Milk se paneer banane mein coagulation kaise hoti hai?\",\n    options: &#91;\n      \"A. Salt add karne se\",\n      \"B. Lemon juice ya vinegar jaise acid ko coagulant ke roop mein use karne se\",\n      \"C. Water evaporate karne se\",\n      \"D. Milk ko centrifuge karne se\"\n    ],\n    correct: 1,\n    explanation: \"Lemon juice ya vinegar ka acid &lt;b>milk proteins ko coagulate&lt;\/b> karta hai, jisse solid &lt;b>paneer\/cheese&lt;\/b> form hota hai.\"\n  }\n];\n\nlet currentQuestion = 0;\nlet score = 0;\nlet userAnswers = &#91;];\nlet userName = \"\";\nlet quizSubmitted = false;\n\nfunction startQuiz() {\n  userName = document.getElementById(\"userName\").value.trim();\n\n  if (!userName) {\n    alert(\"Please enter your name.\");\n    return;\n  }\n\n  document.getElementById(\"nameSection\").style.display = \"none\";\n  document.getElementById(\"quizSection\").style.display = \"block\";\n  showQuestion();\n  loadScoreboard();\n}\n\nfunction showQuestion() {\n  const q = questions&#91;currentQuestion];\n  const container = document.getElementById(\"questionContainer\");\n\n  container.innerHTML = `\n    &lt;div class=\"question\">${q.question}&lt;\/div>\n    &lt;div class=\"options\">\n      ${q.options.map((opt, i) => `\n        &lt;label>\n          &lt;input type=\"radio\" name=\"option\" value=\"${i}\"\n            ${userAnswers&#91;currentQuestion] === i ? \"checked\" : \"\"}>\n          ${opt}\n        &lt;\/label>\n      `).join(\"\")}\n    &lt;\/div>\n  `;\n\n  document.getElementById(\"prevBtn\").style.display =\n    currentQuestion === 0 ? \"none\" : \"inline-block\";\n\n  document.getElementById(\"nextBtn\").style.display =\n    currentQuestion === questions.length - 1 ? \"none\" : \"inline-block\";\n\n  document.getElementById(\"submitBtn\").style.display =\n    currentQuestion === questions.length - 1 ? \"inline-block\" : \"none\";\n}\n\nfunction saveAnswer() {\n  const selected = document.querySelector('input&#91;name=\"option\"]:checked');\n  userAnswers&#91;currentQuestion] = selected ? parseInt(selected.value) : null;\n}\n\nfunction nextQuestion() {\n  saveAnswer();\n\n  if (currentQuestion &lt; questions.length - 1) {\n    currentQuestion++;\n    showQuestion();\n  }\n}\n\nfunction prevQuestion() {\n  saveAnswer();\n\n  if (currentQuestion > 0) {\n    currentQuestion--;\n    showQuestion();\n  }\n}\n\nfunction submitQuiz() {\n  if (quizSubmitted) return;\n\n  saveAnswer();\n  score = 0;\n\n  questions.forEach((q, index) => {\n    if (userAnswers&#91;index] === q.correct) {\n      score++;\n    }\n  });\n\n  quizSubmitted = true;\n  showResults();\n  saveScore(userName, score);\n  loadScoreboard();\n}\n\nfunction showResults() {\n  const container = document.getElementById(\"questionContainer\");\n  container.innerHTML = \"\";\n\n  questions.forEach((q, index) => {\n    const selected = userAnswers&#91;index];\n    const correct = q.correct;\n\n    let optsHTML = q.options.map((opt, i) => {\n      let cls = \"\";\n\n      if (i === correct) cls = \"correct\";\n      if (selected === i &amp;&amp; selected !== correct) cls = \"wrong\";\n\n      return `&lt;label class=\"${cls}\">${opt}&lt;\/label>`;\n    }).join(\"\");\n\n    container.innerHTML += `\n      &lt;div class=\"question\">${q.question}&lt;\/div>\n      &lt;div class=\"options\">${optsHTML}&lt;\/div>\n      &lt;div class=\"explanation\" style=\"display:block;\">\n        &lt;strong>Explanation:&lt;\/strong> ${q.explanation}\n      &lt;\/div>\n      &lt;hr>\n    `;\n  });\n\n  document.querySelector(\".controls\").style.display = \"none\";\n\n  const percentage = (score \/ questions.length) * 100;\n\n  document.getElementById(\"result\").innerHTML = `\n    &lt;h3>Your Score: ${score} \/ ${questions.length}&lt;\/h3>\n    &lt;h3>Percentage: ${percentage}%&lt;\/h3>\n    &lt;p>&lt;strong>${userName}&lt;\/strong>, ${\n      percentage >= 80 ? \"Excellent work!\" :\n      percentage >= 50 ? \"Good effort! Keep practising.\" :\n      \"Keep learning and try again!\"\n    }&lt;\/p>\n  `;\n}\n\nfunction saveScore(name, score) {\n  let scores = JSON.parse(localStorage.getItem(\"quizScores\")) || &#91;];\n\n  scores.push({\n    name: name,\n    score: score,\n    date: new Date().toLocaleString()\n  });\n\n  localStorage.setItem(\"quizScores\", JSON.stringify(scores));\n}\n\nfunction loadScoreboard() {\n  let scores = JSON.parse(localStorage.getItem(\"quizScores\")) || &#91;];\n\n  scores.sort((a, b) => b.score - a.score);\n\n  document.getElementById(\"scoreList\").innerHTML =\n    scores.map(s =>\n      `&lt;li>${s.name} - ${s.score}\/10 (${s.date})&lt;\/li>`\n    ).join(\"\");\n}\n&lt;\/script>\n\n&lt;\/body>\n&lt;\/html><\/code><\/pre>\n\n\n\n<!--nextpage-->\n\n\n\n<p class=\"wp-block-paragraph\">ch5part12<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;!DOCTYPE html>\n&lt;html lang=\"en\">\n&lt;head>\n&lt;meta charset=\"UTF-8\">\n&lt;meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n&lt;title>Science Quiz \u2013 Solution, Colloid and Suspension&lt;\/title>\n\n&lt;style>\nbody {\n  font-family: Arial, sans-serif;\n  background: linear-gradient(135deg, #a1c4fd, #c2e9fb);\n  display: flex;\n  justify-content: center;\n  align-items: flex-start;\n  padding: 30px;\n  min-height: 100vh;\n  box-sizing: border-box;\n}\n.quiz-container {\n  background: #fff;\n  padding: 25px;\n  border-radius: 12px;\n  box-shadow: 0 4px 10px rgba(0,0,0,0.2);\n  width: 90%;\n  max-width: 800px;\n}\nh2 { text-align: center; color: #1e3c72; }\n.question { font-weight: bold; margin: 10px 0; }\n.options label {\n  display: block;\n  margin: 8px 0;\n  padding: 10px;\n  border-radius: 6px;\n  border: 1px solid #ccc;\n  cursor: pointer;\n  transition: 0.3s;\n}\n.options label:hover { background: #f0f0f0; }\n.correct {\n  background-color: #c8f7c5 !important;\n  border-color: #28a745 !important;\n}\n.wrong {\n  background-color: #f8d7da !important;\n  border-color: #dc3545 !important;\n}\n.explanation {\n  background: #e9ecef;\n  padding: 10px;\n  margin-top: 10px;\n  border-left: 5px solid #2a5298;\n  display: none;\n}\n.controls { text-align: center; margin-top: 15px; }\nbutton {\n  background-color: #2a5298;\n  color: white;\n  border: none;\n  padding: 10px 20px;\n  border-radius: 6px;\n  cursor: pointer;\n  margin: 5px;\n}\nbutton:hover { background-color: #1e3c72; }\n#scoreboard {\n  margin-top: 25px;\n  background: #eef3f7;\n  padding: 15px;\n  border-radius: 8px;\n}\n#scoreboard h3 { text-align: center; }\nol { padding-left: 20px; }\ninput&#91;type=\"text\"] {\n  padding: 10px;\n  width: 65%;\n  max-width: 300px;\n  border: 1px solid #ccc;\n  border-radius: 6px;\n}\n@media(max-width:600px) {\n  body { padding: 10px; }\n  .quiz-container { width: 100%; padding: 15px; }\n}\n&lt;\/style>\n&lt;\/head>\n\n&lt;body>\n&lt;div class=\"quiz-container\">\n\n&lt;h2>\ud83e\udde0 Science Quiz \u2013 Solution, Colloid and Suspension&lt;\/h2>\n\n&lt;div id=\"nameSection\">\n  &lt;p>&lt;strong>Enter your name to start:&lt;\/strong>&lt;\/p>\n  &lt;input type=\"text\" id=\"userName\" placeholder=\"Your Name\">\n  &lt;button onclick=\"startQuiz()\">Start Quiz&lt;\/button>\n&lt;\/div>\n\n&lt;div id=\"quizSection\" style=\"display:none;\">\n  &lt;div id=\"questionContainer\">&lt;\/div>\n\n  &lt;div class=\"controls\">\n    &lt;button onclick=\"prevQuestion()\" id=\"prevBtn\">Previous&lt;\/button>\n    &lt;button onclick=\"nextQuestion()\" id=\"nextBtn\">Next&lt;\/button>\n    &lt;button onclick=\"submitQuiz()\" id=\"submitBtn\" style=\"display:none;\">Submit&lt;\/button>\n  &lt;\/div>\n\n  &lt;div id=\"result\" style=\"text-align:center; margin-top:20px;\">&lt;\/div>\n\n  &lt;div id=\"scoreboard\">\n    &lt;h3>\ud83c\udfc6 Scoreboard&lt;\/h3>\n    &lt;ol id=\"scoreList\">&lt;\/ol>\n  &lt;\/div>\n&lt;\/div>\n\n&lt;\/div>\n\n&lt;script>\nconst questions = &#91;\n{\n  question: \"1. Blood ko centrifugation se components mein separate kiya ja sakta hai, lekin blood cells naked eye se directly visible nahi hote. Blood ko scientifically kis type ka mixture maana jaata hai?\",\n  options: &#91;\"A. True solution\", \"B. Suspension\", \"C. Colloid\", \"D. Pure substance\"],\n  correct: 2,\n  explanation: \"Blood na true solution hai aur na true suspension. Blood ek colloid hai.\"\n},\n{\n  question: \"2. Inmein se kaunsa colloid ka example hai?\",\n  options: &#91;\"A. Salt solution\", \"B. Milk\", \"C. Sugar solution\", \"D. Copper sulfate solution\"],\n  correct: 1,\n  explanation: \"Milk, tomato sauce aur ice cream colloids ke common examples hain.\"\n},\n{\n  question: \"3. Solution, colloid aur suspension mein main difference kis property ke basis par hota hai?\",\n  options: &#91;\"A. Colour\", \"B. Particle size\", \"C. Temperature\", \"D. Smell\"],\n  correct: 1,\n  explanation: \"In teen mixtures mein major difference dispersed ya dissolved particles ke size ka hota hai.\"\n},\n{\n  question: \"4. Ek true solution mein solute particles ka approximate diameter kitna hota hai?\",\n  options: &#91;\"A. Less than 1 nm\", \"B. 1\u20131000 nm\", \"C. More than 1000 nm\", \"D. Exactly 1000 nm\"],\n  correct: 0,\n  explanation: \"True solution mein solute particles bahut small hote hain, generally 1 nm se less diameter ke.\"\n},\n{\n  question: \"5. Colloid ke particles ka approximate size range kya hota hai?\",\n  options: &#91;\"A. Less than 0.1 nm\", \"B. 1\u20131000 nm\", \"C. More than 10,000 nm\", \"D. Exactly 1 nm\"],\n  correct: 1,\n  explanation: \"Colloid ke dispersed particles ka size approximately 1\u20131000 nm hota hai.\"\n},\n{\n  question: \"6. Suspension ke particles colloid ke particles se kaise different hote hain?\",\n  options: &#91;\n    \"A. Suspension particles 1 nm se smaller hote hain\",\n    \"B. Suspension particles generally 1000 nm se larger hote hain\",\n    \"C. Suspension mein particles hote hi nahi\",\n    \"D. Suspension particles always gases hote hain\"\n  ],\n  correct: 1,\n  explanation: \"Suspension mein particles relatively large hote hain, generally 1000 nm se greater.\"\n},\n{\n  question: \"7. Colloid ko suspension se distinguish karne wali important property kya hai?\",\n  options: &#91;\n    \"A. Colloid ke particles time ke saath easily settle nahi hote\",\n    \"B. Colloid ke particles always naked eye se visible hote hain\",\n    \"C. Colloid hamesha colourless hota hai\",\n    \"D. Colloid mein particles completely dissolve ho jaate hain\"\n  ],\n  correct: 0,\n  explanation: \"Colloid ke particles uniformly dispersed rehte hain aur suspension ki tarah time ke saath easily bottom par settle nahi hote.\"\n},\n{\n  question: \"8. Tyndall effect kya hai?\",\n  options: &#91;\n    \"A. Particles ka dissolve hona\",\n    \"B. Light ka particles ke dwara scattering hona\",\n    \"C. Liquid ka boiling\",\n    \"D. Solid ka melting\"\n  ],\n  correct: 1,\n  explanation: \"Particles ke dwara light ka scattering ko Tyndall effect kehte hain. Iska naam scientist John Tyndall ke naam par hai.\"\n},\n{\n  question: \"9. Ek dark room mein small hole se sunlight ki thin beam enter karti hai aur uska path dust aur smoke particles ki wajah se visible ho jaata hai. Ye kaunsa phenomenon hai?\",\n  options: &#91;\n    \"A. Evaporation\",\n    \"B. Sublimation\",\n    \"C. Tyndall effect\",\n    \"D. Crystallization\"\n  ],\n  correct: 2,\n  explanation: \"Air mein present dust aur smoke particles light ko scatter karte hain, jiski wajah se light beam ka path visible hota hai. Ye Tyndall effect hai.\"\n},\n{\n  question: \"10. Colloid mein dispersed particles jis component mein uniformly distributed hote hain, us component ko kya kaha jaata hai?\",\n  options: &#91;\n    \"A. Dispersed phase\",\n    \"B. Dispersion medium\",\n    \"C. Solute only\",\n    \"D. Residue\"\n  ],\n  correct: 1,\n  explanation: \"Colloid mein dispersed particles = dispersed phase, aur jis component mein ye particles distributed hote hain = dispersion medium.\"\n}\n];\n\nlet currentQuestion = 0;\nlet score = 0;\nlet userAnswers = &#91;];\nlet userName = \"\";\n\nfunction startQuiz() {\n  userName = document.getElementById(\"userName\").value.trim();\n\n  if (!userName) {\n    alert(\"Please enter your name.\");\n    return;\n  }\n\n  document.getElementById(\"nameSection\").style.display = \"none\";\n  document.getElementById(\"quizSection\").style.display = \"block\";\n\n  showQuestion();\n  loadScoreboard();\n}\n\nfunction showQuestion() {\n  const q = questions&#91;currentQuestion];\n  const container = document.getElementById(\"questionContainer\");\n\n  container.innerHTML = `\n    &lt;div class=\"question\">Q${currentQuestion + 1}. ${q.question}&lt;\/div>\n    &lt;div class=\"options\">\n      ${q.options.map((opt, i) => `\n        &lt;label>\n          &lt;input type=\"radio\" name=\"option\" value=\"${i}\"\n          ${userAnswers&#91;currentQuestion] === i ? \"checked\" : \"\"}>\n          ${opt}\n        &lt;\/label>\n      `).join(\"\")}\n    &lt;\/div>\n    &lt;div class=\"explanation\" id=\"explain${currentQuestion}\">\n      ${q.explanation}\n    &lt;\/div>\n  `;\n\n  document.getElementById(\"prevBtn\").style.display =\n    currentQuestion === 0 ? \"none\" : \"inline-block\";\n\n  document.getElementById(\"nextBtn\").style.display =\n    currentQuestion === questions.length - 1 ? \"none\" : \"inline-block\";\n\n  document.getElementById(\"submitBtn\").style.display =\n    currentQuestion === questions.length - 1 ? \"inline-block\" : \"none\";\n}\n\nfunction saveAnswer() {\n  const selected = document.querySelector('input&#91;name=\"option\"]:checked');\n  userAnswers&#91;currentQuestion] = selected ? parseInt(selected.value) : null;\n}\n\nfunction nextQuestion() {\n  saveAnswer();\n\n  if (currentQuestion &lt; questions.length - 1) {\n    currentQuestion++;\n    showQuestion();\n  }\n}\n\nfunction prevQuestion() {\n  saveAnswer();\n\n  if (currentQuestion > 0) {\n    currentQuestion--;\n    showQuestion();\n  }\n}\n\nfunction submitQuiz() {\n  saveAnswer();\n\n  score = 0;\n\n  questions.forEach((q, index) => {\n    if (userAnswers&#91;index] === q.correct) {\n      score++;\n    }\n  });\n\n  showResults();\n  saveScore(userName, score);\n  loadScoreboard();\n}\n\nfunction showResults() {\n  const container = document.getElementById(\"questionContainer\");\n  container.innerHTML = \"\";\n\n  questions.forEach((q, index) => {\n    const selected = userAnswers&#91;index];\n    const correct = q.correct;\n\n    let optsHTML = q.options.map((opt, i) => {\n      let cls = \"\";\n\n      if (i === correct) cls = \"correct\";\n      if (selected === i &amp;&amp; selected !== correct) cls = \"wrong\";\n\n      return `&lt;label class=\"${cls}\">${opt}&lt;\/label>`;\n    }).join(\"\");\n\n    container.innerHTML += `\n      &lt;div class=\"question\">Q${index + 1}. ${q.question}&lt;\/div>\n      &lt;div class=\"options\">${optsHTML}&lt;\/div>\n      &lt;div class=\"explanation\" style=\"display:block;\">\n        &lt;strong>Explanation:&lt;\/strong> ${q.explanation}\n      &lt;\/div>\n      &lt;hr>\n    `;\n  });\n\n  document.querySelector(\".controls\").style.display = \"none\";\n\n  document.getElementById(\"result\").innerHTML =\n    `&lt;h3>Your Score: ${score} \/ ${questions.length}&lt;\/h3>`;\n}\n\nfunction escapeHTML(value) {\n  return String(value).replace(\/&#91;&amp;&lt;>\"']\/g, char => ({\n    \"&amp;\": \"&amp;amp;\",\n    \"&lt;\": \"&amp;lt;\",\n    \">\": \"&amp;gt;\",\n    '\"': \"&amp;quot;\",\n    \"'\": \"&amp;#39;\"\n  })&#91;char]);\n}\n\nfunction saveScore(name, score) {\n  let scores = &#91;];\n\n  try {\n    scores = JSON.parse(localStorage.getItem(\"quizScores\")) || &#91;];\n  } catch (e) {\n    scores = &#91;];\n  }\n\n  scores.push({\n    name: name,\n    score: score,\n    date: new Date().toLocaleString()\n  });\n\n  localStorage.setItem(\"quizScores\", JSON.stringify(scores));\n}\n\nfunction loadScoreboard() {\n  let scores = &#91;];\n\n  try {\n    scores = JSON.parse(localStorage.getItem(\"quizScores\")) || &#91;];\n  } catch (e) {\n    scores = &#91;];\n  }\n\n  scores.sort((a, b) => b.score - a.score);\n\n  document.getElementById(\"scoreList\").innerHTML =\n    scores.map(s =>\n      `&lt;li>${escapeHTML(s.name)} - ${s.score}\/10 (${escapeHTML(s.date)})&lt;\/li>`\n    ).join(\"\");\n}\n&lt;\/script>\n\n&lt;\/body>\n&lt;\/html><\/code><\/pre>\n\n\n\n<!--nextpage-->\n\n\n\n<p class=\"wp-block-paragraph\">ch5part13<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;!DOCTYPE html>\n&lt;html lang=\"en\">\n&lt;head>\n&lt;meta charset=\"UTF-8\">\n&lt;meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n&lt;title>Apical Classes - Emulsions and Colloids Quiz&lt;\/title>\n&lt;style>\nbody {\n  font-family: Arial, sans-serif;\n  background: linear-gradient(135deg, #a1c4fd, #c2e9fb);\n  display: flex;\n  justify-content: center;\n  align-items: flex-start;\n  padding: 30px;\n  min-height: 100vh;\n}\n.quiz-container {\n  background: #fff;\n  padding: 25px;\n  border-radius: 12px;\n  box-shadow: 0 4px 10px rgba(0,0,0,0.2);\n  width: 90%;\n  max-width: 800px;\n}\nh2 { text-align: center; color: #1e3c72; }\n.question { font-weight: bold; margin: 10px 0; }\n.options label {\n  display: block;\n  margin: 8px 0;\n  padding: 10px;\n  border-radius: 6px;\n  border: 1px solid #ccc;\n  cursor: pointer;\n  transition: 0.3s;\n}\n.options label:hover { background: #f0f0f0; }\n.correct {\n  background-color: #c8f7c5 !important;\n  border-color: #28a745 !important;\n}\n.wrong {\n  background-color: #f8d7da !important;\n  border-color: #dc3545 !important;\n}\n.explanation {\n  background: #e9ecef;\n  padding: 10px;\n  margin-top: 10px;\n  border-left: 5px solid #2a5298;\n  display: none;\n}\n.controls { text-align: center; margin-top: 15px; }\nbutton {\n  background-color: #2a5298;\n  color: white;\n  border: none;\n  padding: 10px 20px;\n  border-radius: 6px;\n  cursor: pointer;\n  margin: 5px;\n}\nbutton:hover { background-color: #1e3c72; }\n#scoreboard {\n  margin-top: 25px;\n  background: #eef3f7;\n  padding: 15px;\n  border-radius: 8px;\n}\n#scoreboard h3 { text-align: center; }\nol { padding-left: 20px; }\n#userName {\n  padding: 10px;\n  width: 65%;\n  border: 1px solid #ccc;\n  border-radius: 6px;\n}\n&lt;\/style>\n&lt;\/head>\n&lt;body>\n\n&lt;div class=\"quiz-container\">\n  &lt;h2>\ud83e\uddea APICAL CLASSES&lt;br>Emulsions, Colloids and Separation Techniques Quiz&lt;\/h2>\n\n  &lt;div id=\"nameSection\">\n    &lt;p>&lt;strong>Enter your name to start:&lt;\/strong>&lt;\/p>\n    &lt;input type=\"text\" id=\"userName\" placeholder=\"Your Name\">\n    &lt;button onclick=\"startQuiz()\">Start Quiz&lt;\/button>\n  &lt;\/div>\n\n  &lt;div id=\"quizSection\" style=\"display:none;\">\n    &lt;div id=\"questionContainer\">&lt;\/div>\n\n    &lt;div class=\"controls\">\n      &lt;button onclick=\"prevQuestion()\" id=\"prevBtn\">Previous&lt;\/button>\n      &lt;button onclick=\"nextQuestion()\" id=\"nextBtn\">Next&lt;\/button>\n      &lt;button onclick=\"submitQuiz()\" id=\"submitBtn\" style=\"display:none;\">Submit&lt;\/button>\n    &lt;\/div>\n\n    &lt;div id=\"result\" style=\"text-align:center; margin-top:20px;\">&lt;\/div>\n\n    &lt;div id=\"scoreboard\">\n      &lt;h3>\ud83c\udfc6 Scoreboard&lt;\/h3>\n      &lt;ol id=\"scoreList\">&lt;\/ol>\n    &lt;\/div>\n  &lt;\/div>\n&lt;\/div>\n\n&lt;script>\nconst questions = &#91;\n  {\n    question: \"1. Jab dispersed phase aur dispersion medium dono liquids hon, to aise colloid ko kya kaha jaata hai?\",\n    options: &#91;\n      \"A. Suspension\",\n      \"B. Emulsion\",\n      \"C. Solution\",\n      \"D. Alloy\"\n    ],\n    correct: 1,\n    explanation: \"Jab dispersed phase aur dispersion medium dono liquids hote hain, to colloid ko emulsion kehte hain.\"\n  },\n  {\n    question: \"2. Milk kis type ki emulsion ka example hai?\",\n    options: &#91;\n      \"A. Water-in-oil\",\n      \"B. Oil-in-water\",\n      \"C. Solid-in-liquid\",\n      \"D. Gas-in-liquid\"\n    ],\n    correct: 1,\n    explanation: \"Milk mein oil\/fat droplets water mein dispersed hote hain, isliye milk oil-in-water emulsion hai.\"\n  },\n  {\n    question: \"3. Inmein se kaunsa water-in-oil emulsion ka example hai?\",\n    options: &#91;\n      \"A. Milk\",\n      \"B. Vanishing cream\",\n      \"C. Butter\",\n      \"D. Sugar solution\"\n    ],\n    correct: 2,\n    explanation: \"Butter, body lotion aur cold cream water-in-oil emulsions ke examples hain.\"\n  },\n  {\n    question: \"4. Emulsifying agents ka main function kya hota hai?\",\n    options: &#91;\n      \"A. Emulsion ko stable banana\",\n      \"B. Emulsion ko evaporate karna\",\n      \"C. Particles ko dissolve karna\",\n      \"D. Boiling point ko zero karna\"\n    ],\n    correct: 0,\n    explanation: \"Emulsifying agents emulsions ko stabilise karte hain. Milk aur butter mein proteins emulsifying agents ki tarah kaam karte hain.\"\n  },\n  {\n    question: \"5. Cooking oil aur water ki emulsion banane ke liye water mein soap solution add karke mixture ko shake karne ka purpose kya hai?\",\n    options: &#91;\n      \"A. Oil ko completely burn karna\",\n      \"B. Emulsion form aur stabilise karna\",\n      \"C. Water ko solid banana\",\n      \"D. Oil ko crystallise karna\"\n    ],\n    correct: 1,\n    explanation: \"Oil aur water ko thoroughly mix\/shake karne aur soap solution add karne se emulsion ban sakti hai, kyunki soap emulsifying agent ki tarah help karta hai.\"\n  },\n  {\n    question: \"6. Clouds ko colloid kyun maana ja sakta hai?\",\n    options: &#91;\n      \"A. Tiny water droplets ya ice crystals air mein dispersed hote hain\",\n      \"B. Water completely air mein dissolve ho jaata hai\",\n      \"C. Clouds sirf pure water hote hain\",\n      \"D. Clouds mein koi particles nahi hote\"\n    ],\n    correct: 0,\n    explanation: \"Clouds mein tiny water droplets ya ice crystals air mein dispersed hote hain, isliye unhe colloidal mixture maana ja sakta hai.\"\n  },\n  {\n    question: \"7. Smoke aur dust wale cities mein buildings aur surroundings hazy kyun dikhte hain?\",\n    options: &#91;\n      \"A. Smoke aur dust light ko scatter karte hain\",\n      \"B. Smoke light ko completely absorb kar leta hai\",\n      \"C. Dust water mein dissolve ho jaati hai\",\n      \"D. Air ka temperature zero ho jaata hai\"\n    ],\n    correct: 0,\n    explanation: \"Air mein present smoke aur dust particles light ko scatter karte hain. Ye scattering hazy appearance create karti hai.\"\n  },\n  {\n    question: \"8. Sewage water treatment mein kaunsi processes commonly use hoti hain?\",\n    options: &#91;\n      \"A. Sublimation, distillation aur chromatography\",\n      \"B. Sedimentation, coagulation aur filtration\",\n      \"C. Melting, freezing aur evaporation\",\n      \"D. Crystallization, alloying aur sublimation\"\n    ],\n    correct: 1,\n    explanation: \"Sewage treatment mein sedimentation, coagulation aur filtration jaise separation steps use karke water ko cleaner banaya jaata hai.\"\n  },\n  {\n    question: \"9. Do immiscible liquids ko unki different densities ke basis par separate karne ke liye kaunsa apparatus use hota hai?\",\n    options: &#91;\n      \"A. Separating funnel\",\n      \"B. Centrifuge\",\n      \"C. Chromatography paper\",\n      \"D. China dish\"\n    ],\n    correct: 0,\n    explanation: \"Separating funnel immiscible liquids, jaise oil aur water, ko unki different densities ke basis par separate karta hai.\"\n  },\n  {\n    question: \"10. Kaunsa statement mixtures ki separation techniques ke baare mein correct hai?\",\n    options: &#91;\n      \"A. Crystallization saturated solution se pure solid obtain kar sakti hai\",\n      \"B. Sublimation mein solid pehle liquid banta hai\",\n      \"C. Centrifugation slow spinning se heavier particles ko upar bhejti hai\",\n      \"D. Paper chromatography mein sabhi components same speed se move karte hain\"\n    ],\n    correct: 0,\n    explanation: \"Crystallization saturated solution se pure solid crystals obtain karne ki technique hai. Sublimation mein solid directly vapour banta hai, centrifugation rapid spinning use karti hai, aur chromatography mein components different rates se move karte hain.\"\n  }\n];\n\nlet currentQuestion = 0;\nlet score = 0;\nlet userAnswers = &#91;];\nlet userName = \"\";\nlet quizSubmitted = false;\n\nfunction startQuiz() {\n  userName = document.getElementById(\"userName\").value.trim();\n\n  if (!userName) {\n    alert(\"Please enter your name.\");\n    return;\n  }\n\n  document.getElementById(\"nameSection\").style.display = \"none\";\n  document.getElementById(\"quizSection\").style.display = \"block\";\n\n  showQuestion();\n  loadScoreboard();\n}\n\nfunction showQuestion() {\n  const q = questions&#91;currentQuestion];\n  const container = document.getElementById(\"questionContainer\");\n\n  container.innerHTML = `\n    &lt;div class=\"question\">${q.question}&lt;\/div>\n    &lt;div class=\"options\">\n      ${q.options.map((opt, i) => `\n        &lt;label>\n          &lt;input type=\"radio\" name=\"option\" value=\"${i}\"\n            ${userAnswers&#91;currentQuestion] === i ? \"checked\" : \"\"}>\n          ${opt}\n        &lt;\/label>\n      `).join(\"\")}\n    &lt;\/div>\n    &lt;div class=\"explanation\" id=\"explain${currentQuestion}\">${q.explanation}&lt;\/div>\n  `;\n\n  document.getElementById(\"prevBtn\").style.display =\n    currentQuestion === 0 ? \"none\" : \"inline-block\";\n\n  document.getElementById(\"nextBtn\").style.display =\n    currentQuestion === questions.length - 1 ? \"none\" : \"inline-block\";\n\n  document.getElementById(\"submitBtn\").style.display =\n    currentQuestion === questions.length - 1 ? \"inline-block\" : \"none\";\n}\n\nfunction saveAnswer() {\n  const selected = document.querySelector('input&#91;name=\"option\"]:checked');\n  userAnswers&#91;currentQuestion] = selected ? parseInt(selected.value) : null;\n}\n\nfunction nextQuestion() {\n  saveAnswer();\n\n  if (currentQuestion &lt; questions.length - 1) {\n    currentQuestion++;\n    showQuestion();\n  }\n}\n\nfunction prevQuestion() {\n  saveAnswer();\n\n  if (currentQuestion > 0) {\n    currentQuestion--;\n    showQuestion();\n  }\n}\n\nfunction submitQuiz() {\n  if (quizSubmitted) return;\n\n  saveAnswer();\n  score = 0;\n\n  questions.forEach((q, index) => {\n    if (userAnswers&#91;index] === q.correct) {\n      score++;\n    }\n  });\n\n  quizSubmitted = true;\n  showResults();\n  saveScore(userName, score);\n  loadScoreboard();\n}\n\nfunction showResults() {\n  const container = document.getElementById(\"questionContainer\");\n  container.innerHTML = \"\";\n\n  questions.forEach((q, index) => {\n    const selected = userAnswers&#91;index];\n\n    let optsHTML = q.options.map((opt, i) => {\n      let cls = \"\";\n\n      if (i === q.correct) {\n        cls = \"correct\";\n      }\n\n      if (selected === i &amp;&amp; selected !== q.correct) {\n        cls = \"wrong\";\n      }\n\n      return `&lt;label class=\"${cls}\">${opt}&lt;\/label>`;\n    }).join(\"\");\n\n    container.innerHTML += `\n      &lt;div class=\"question\">${q.question}&lt;\/div>\n      &lt;div class=\"options\">${optsHTML}&lt;\/div>\n      &lt;div class=\"explanation\" style=\"display:block;\">\n        &lt;strong>Explanation:&lt;\/strong> ${q.explanation}\n      &lt;\/div>\n      &lt;hr>\n    `;\n  });\n\n  document.querySelector(\".controls\").style.display = \"none\";\n\n  document.getElementById(\"result\").innerHTML = `\n    &lt;h3>Your Score: ${score} \/ ${questions.length}&lt;\/h3>\n    &lt;p>${score === 10 ? \"Excellent! Perfect Score!\" :\n      score >= 7 ? \"Very Good! Keep Practising!\" :\n      score >= 5 ? \"Good effort! Revise and try again!\" :\n      \"Keep practising. You can improve!\"}&lt;\/p>\n  `;\n}\n\nfunction saveScore(name, score) {\n  let scores = JSON.parse(localStorage.getItem(\"quizScores\")) || &#91;];\n\n  scores.push({\n    name: name,\n    score: score,\n    date: new Date().toLocaleString()\n  });\n\n  localStorage.setItem(\"quizScores\", JSON.stringify(scores));\n}\n\nfunction loadScoreboard() {\n  let scores = JSON.parse(localStorage.getItem(\"quizScores\")) || &#91;];\n\n  scores.sort((a, b) => b.score - a.score);\n\n  document.getElementById(\"scoreList\").innerHTML =\n    scores.map(s =>\n      `&lt;li>${s.name} - ${s.score}\/10 (${s.date})&lt;\/li>`\n    ).join(\"\");\n}\n&lt;\/script>\n\n&lt;\/body>\n&lt;\/html><\/code><\/pre>\n\n\n\n<!--nextpage-->\n\n\n\n<p class=\"wp-block-paragraph\">ch5part14<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;!DOCTYPE html>\n&lt;html lang=\"en\">\n&lt;head>\n&lt;meta charset=\"UTF-8\">\n&lt;meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n&lt;title>APICAL CLASSES - Science Quiz&lt;\/title>\n&lt;style>\n  body {\n    font-family: Arial, sans-serif;\n    background: linear-gradient(135deg, #a1c4fd, #c2e9fb);\n    display: flex;\n    justify-content: center;\n    align-items: flex-start;\n    padding: 30px;\n    min-height: 100vh;\n    margin: 0;\n  }\n  .quiz-container {\n    background: #fff;\n    padding: 25px;\n    border-radius: 12px;\n    box-shadow: 0 4px 10px rgba(0,0,0,0.2);\n    width: 90%;\n    max-width: 800px;\n  }\n  h2 { text-align: center; color: #1e3c72; }\n  .branding {\n    text-align: center;\n    color: #2a5298;\n    font-weight: bold;\n    letter-spacing: 1px;\n  }\n  .question {\n    font-weight: bold;\n    margin: 15px 0;\n    line-height: 1.6;\n  }\n  .options label {\n    display: block;\n    margin: 8px 0;\n    padding: 10px;\n    border-radius: 6px;\n    border: 1px solid #ccc;\n    cursor: pointer;\n    transition: 0.3s;\n    line-height: 1.5;\n  }\n  .options label:hover { background: #f0f0f0; }\n  .options input { margin-right: 8px; }\n  .correct {\n    background-color: #c8f7c5 !important;\n    border-color: #28a745 !important;\n  }\n  .wrong {\n    background-color: #f8d7da !important;\n    border-color: #dc3545 !important;\n  }\n  .explanation {\n    background: #e9ecef;\n    padding: 12px;\n    margin-top: 10px;\n    border-left: 5px solid #2a5298;\n    display: none;\n    line-height: 1.6;\n    border-radius: 4px;\n  }\n  .controls { text-align: center; margin-top: 15px; }\n  button {\n    background-color: #2a5298;\n    color: white;\n    border: none;\n    padding: 10px 20px;\n    border-radius: 6px;\n    cursor: pointer;\n    margin: 5px;\n  }\n  button:hover { background-color: #1e3c72; }\n  input&#91;type=\"text\"] {\n    padding: 10px;\n    width: 65%;\n    border: 1px solid #ccc;\n    border-radius: 6px;\n  }\n  #scoreboard {\n    margin-top: 25px;\n    background: #eef3f7;\n    padding: 15px;\n    border-radius: 8px;\n  }\n  #scoreboard h3 { text-align: center; }\n  ol { padding-left: 20px; }\n  hr { border: 0; border-top: 1px solid #ddd; margin: 20px 0; }\n\n  @media(max-width:600px) {\n    body { padding: 10px; }\n    .quiz-container { width: 100%; padding: 15px; }\n    input&#91;type=\"text\"] { width: 90%; }\n  }\n&lt;\/style>\n&lt;\/head>\n&lt;body>\n\n&lt;div class=\"quiz-container\">\n  &lt;div class=\"branding\">APICAL CLASSES&lt;\/div>\n  &lt;h2>\ud83e\udde0 Science Quiz \u2013 Mixtures &amp; Separation Techniques&lt;\/h2>\n\n  &lt;div id=\"nameSection\">\n    &lt;p>&lt;strong>Enter your name to start:&lt;\/strong>&lt;\/p>\n    &lt;input type=\"text\" id=\"userName\" placeholder=\"Your Name\">\n    &lt;button onclick=\"startQuiz()\">Start Quiz&lt;\/button>\n  &lt;\/div>\n\n  &lt;div id=\"quizSection\" style=\"display:none;\">\n    &lt;div id=\"questionContainer\">&lt;\/div>\n\n    &lt;div class=\"controls\">\n      &lt;button onclick=\"prevQuestion()\" id=\"prevBtn\">Previous&lt;\/button>\n      &lt;button onclick=\"nextQuestion()\" id=\"nextBtn\">Next&lt;\/button>\n      &lt;button onclick=\"submitQuiz()\" id=\"submitBtn\" style=\"display:none;\">Submit&lt;\/button>\n    &lt;\/div>\n\n    &lt;div id=\"result\" style=\"text-align:center; margin-top:20px;\">&lt;\/div>\n\n    &lt;div id=\"scoreboard\">\n      &lt;h3>\ud83c\udfc6 Scoreboard&lt;\/h3>\n      &lt;ol id=\"scoreList\">&lt;\/ol>\n    &lt;\/div>\n  &lt;\/div>\n&lt;\/div>\n\n&lt;script>\nconst questions = &#91;\n  {\n    question: \"1. Inmein se kaunsa classification set completely correct hai?\",\n    options: &#91;\n      \"A. Air\u2014Hm, Milk\u2014Ht, Sugar solution\u2014Hm, Smoke\u2014Hm\",\n      \"B. Brass\u2014Ht, Fog\u2014Ht, Vinegar\u2014Ht, Muddy water\u2014Hm\",\n      \"C. Copper sulfate solution\u2014Hm, Salt solution\u2014Hm, Milk\u2014Hm, Bronze\u2014Hm\",\n      \"D. Muddy water\u2014Ht, Milk\u2014Ht, Blood\u2014Ht, Brass\u2014Ht\"\n    ],\n    correct: 2,\n    explanation: \"Copper sulfate solution, salt solution, milk aur bronze ko given classification mein &lt;strong>homogeneous (Hm)&lt;\/strong> maana gaya hai. Brass bhi homogeneous alloy hai, isliye option D mein brass ko Ht karna wrong hai. Air aur smoke bhi option A mein correctly classified nahi hain because smoke heterogeneous colloidal mixture hai.\"\n  },\n  {\n    question: \"2. Inmein se kaunse mixtures Tyndall effect show karenge?&lt;br>&lt;br>(a) Air + dust particles&lt;br>(b) Copper sulfate + water&lt;br>(c) Starch + water&lt;br>(d) Acetone + water\",\n    options: &#91;\n      \"A. a aur b\",\n      \"B. b aur d\",\n      \"C. a aur c\",\n      \"D. c aur d\"\n    ],\n    correct: 2,\n    explanation: \"Air mein dust particles aur starch-water jaise colloidal mixtures &lt;strong>light scatter&lt;\/strong> karte hain, isliye Tyndall effect show karte hain. Copper sulfate solution aur acetone-water true solutions hain, isliye normally Tyndall effect nahi dikhate.\"\n  },\n  {\n    question: \"3. 20 g sugar ko 80 g water mein dissolve kiya gaya. Sugar solution ki mass percentage concentration kya hogi?\",\n    options: &#91;\n      \"A. 20%\",\n      \"B. 25%\",\n      \"C. 80%\",\n      \"D. 100%\"\n    ],\n    correct: 0,\n    explanation: \"Total solution mass = 20 + 80 = 100 g.&lt;br>&lt;br>Sugar percentage = (Mass of solute \/ Mass of solution) \u00d7 100&lt;br>= (20\/100) \u00d7 100 = &lt;strong>20% m\/m&lt;\/strong>.\"\n  },\n  {\n    question: \"4. 120 g brass alloy mein copper 70% by mass hai. Ismein copper aur zinc ki quantities kya hongi?\",\n    options: &#91;\n      \"A. 84 g copper, 36 g zinc\",\n      \"B. 70 g copper, 50 g zinc\",\n      \"C. 36 g copper, 84 g zinc\",\n      \"D. 80 g copper, 40 g zinc\"\n    ],\n    correct: 0,\n    explanation: \"Copper = 70% of 120 = &lt;strong>84 g&lt;\/strong>.&lt;br>Remaining zinc = 120 \u2212 84 = &lt;strong>36 g&lt;\/strong>.\"\n  },\n  {\n    question: \"5. Cooking oil ki density water se kam hai. Oil ko water ke saath mix karne par kya hoga aur unhe kaise separate karenge?\",\n    options: &#91;\n      \"A. Oil bottom par rahega; filtration se separate hoga\",\n      \"B. Oil top par rahega; separating funnel se separate hoga\",\n      \"C. Oil water mein dissolve hoga; crystallization se separate hoga\",\n      \"D. Oil vapour banega; chromatography se separate hoga\"\n    ],\n    correct: 1,\n    explanation: \"Oil aur water &lt;strong>immiscible liquids&lt;\/strong> hain. Oil ki density kam hone ke karan woh upper layer banayega. Separating funnel se dono layers separate ki ja sakti hain.\"\n  },\n  {\n    question: \"6. Assertion (A): Solutions Tyndall effect show nahi karte.&lt;br>&lt;br>Reason (R): Solution ke particles bahut small hote hain, generally 1 nm se less, isliye woh visible light ko effectively scatter nahi karte.\",\n    options: &#91;\n      \"A. A aur R dono true hain, aur R correct explanation hai\",\n      \"B. A aur R dono true hain, lekin R correct explanation nahi hai\",\n      \"C. A true hai, R false hai\",\n      \"D. A false hai, R true hai\"\n    ],\n    correct: 0,\n    explanation: \"True solution ke particles &lt;strong>1 nm se smaller&lt;\/strong> hote hain. Itne small particles visible light ko effectively scatter nahi karte, isliye solution Tyndall effect show nahi karta.\"\n  },\n  {\n    question: \"7. Naphthalene aur sand ke mixture ko separate karne ke liye sabse suitable method kya hai?\",\n    options: &#91;\n      \"A. Sublimation\",\n      \"B. Distillation\",\n      \"C. Centrifugation\",\n      \"D. Separating funnel\"\n    ],\n    correct: 0,\n    explanation: \"&lt;strong>Naphthalene sublime&lt;\/strong> karta hai, jabki sand sublime nahi karta. Heating par naphthalene vapour ban jaata hai aur cooling par solid deposit ho jaata hai, isliye dono separate ho jaate hain.\"\n  },\n  {\n    question: \"8. Water aur acetone ko distillation se effectively separate karna possible hai. Iska main reason kya hai?\",\n    options: &#91;\n      \"A. Dono immiscible liquids hain\",\n      \"B. Acetone aur water ke boiling points mein large difference hai\",\n      \"C. Acetone solid hai\",\n      \"D. Water oil se lighter hai\"\n    ],\n    correct: 1,\n    explanation: \"Acetone ka boiling point about &lt;strong>56\u00b0C&lt;\/strong> aur water ka &lt;strong>100\u00b0C&lt;\/strong> hai. Difference sufficient hone ke karan acetone pehle vapourise hota hai aur distillation se separation possible hoti hai.\"\n  },\n  {\n    question: \"9. Table ke according 40\u00b0C par potassium nitrate ki solubility 62 g per 100 g water hai. 40\u00b0C par 50 g water ka saturated solution banane ke liye kitna KNO\u2083 chahiye?\",\n    options: &#91;\n      \"A. 21 g\",\n      \"B. 31 g\",\n      \"C. 62 g\",\n      \"D. 124 g\"\n    ],\n    correct: 1,\n    explanation: \"100 g water mein 62 g KNO\u2083 dissolve hota hai.&lt;br>50 g water mein required amount = 62 \u00d7 50\/100 = &lt;strong>31 g&lt;\/strong>.\"\n  },\n  {\n    question: \"10. Sugar solutions ke liye Student A: 20 g sugar + 80 g water, Student B: 20 g sugar + 100 g water, Student C: 30 g sugar + 80 g water. Sabse concentrated solution kaunsa hai?\",\n    options: &#91;\n      \"A. Student A\",\n      \"B. Student B\",\n      \"C. Student C\",\n      \"D. A aur B equally concentrated hain\"\n    ],\n    correct: 2,\n    explanation: \"A = 20\/100 \u00d7 100 = &lt;strong>20%&lt;\/strong>.&lt;br>B = 20\/120 \u00d7 100 \u2248 &lt;strong>16.67%&lt;\/strong>.&lt;br>C = 30\/110 \u00d7 100 \u2248 &lt;strong>27.27%&lt;\/strong>.&lt;br>Isliye &lt;strong>Student C ka solution sabse concentrated&lt;\/strong> hai.\"\n  }\n];\n\nlet currentQuestion = 0;\nlet score = 0;\nlet userAnswers = &#91;];\nlet userName = \"\";\n\nfunction startQuiz() {\n  userName = document.getElementById(\"userName\").value.trim();\n\n  if (!userName) {\n    alert(\"Please enter your name.\");\n    return;\n  }\n\n  document.getElementById(\"nameSection\").style.display = \"none\";\n  document.getElementById(\"quizSection\").style.display = \"block\";\n\n  showQuestion();\n  loadScoreboard();\n}\n\nfunction showQuestion() {\n  const q = questions&#91;currentQuestion];\n  const container = document.getElementById(\"questionContainer\");\n\n  container.innerHTML = `\n    &lt;div class=\"question\">${q.question}&lt;\/div>\n    &lt;div class=\"options\">\n      ${q.options.map((opt, i) => `\n        &lt;label>\n          &lt;input type=\"radio\" name=\"option\" value=\"${i}\"\n          ${userAnswers&#91;currentQuestion] === i ? \"checked\" : \"\"}>\n          ${opt}\n        &lt;\/label>\n      `).join(\"\")}\n    &lt;\/div>\n    &lt;div class=\"explanation\" id=\"explain${currentQuestion}\">\n      ${q.explanation}\n    &lt;\/div>\n  `;\n\n  document.getElementById(\"prevBtn\").style.display =\n    currentQuestion === 0 ? \"none\" : \"inline-block\";\n\n  document.getElementById(\"nextBtn\").style.display =\n    currentQuestion === questions.length - 1 ? \"none\" : \"inline-block\";\n\n  document.getElementById(\"submitBtn\").style.display =\n    currentQuestion === questions.length - 1 ? \"inline-block\" : \"none\";\n}\n\nfunction saveAnswer() {\n  const selected = document.querySelector('input&#91;name=\"option\"]:checked');\n  userAnswers&#91;currentQuestion] = selected ? parseInt(selected.value) : null;\n}\n\nfunction nextQuestion() {\n  saveAnswer();\n\n  if (currentQuestion &lt; questions.length - 1) {\n    currentQuestion++;\n    showQuestion();\n  }\n}\n\nfunction prevQuestion() {\n  saveAnswer();\n\n  if (currentQuestion > 0) {\n    currentQuestion--;\n    showQuestion();\n  }\n}\n\nfunction submitQuiz() {\n  saveAnswer();\n  score = 0;\n\n  questions.forEach((q, index) => {\n    if (userAnswers&#91;index] === q.correct) {\n      score++;\n    }\n  });\n\n  showResults();\n  saveScore(userName, score);\n  loadScoreboard();\n}\n\nfunction showResults() {\n  const container = document.getElementById(\"questionContainer\");\n  container.innerHTML = \"\";\n\n  questions.forEach((q, index) => {\n    const selected = userAnswers&#91;index];\n\n    let optsHTML = q.options.map((opt, i) => {\n      let cls = \"\";\n\n      if (i === q.correct) cls = \"correct\";\n      if (selected === i &amp;&amp; selected !== q.correct) cls = \"wrong\";\n\n      return `&lt;label class=\"${cls}\">${opt}&lt;\/label>`;\n    }).join(\"\");\n\n    container.innerHTML += `\n      &lt;div class=\"question\">${q.question}&lt;\/div>\n      &lt;div class=\"options\">${optsHTML}&lt;\/div>\n      &lt;div class=\"explanation\" style=\"display:block;\">\n        &lt;strong>Explanation:&lt;\/strong> ${q.explanation}\n      &lt;\/div>\n      &lt;hr>\n    `;\n  });\n\n  document.querySelector(\".controls\").style.display = \"none\";\n\n  document.getElementById(\"result\").innerHTML =\n    `&lt;h3>Your Score: ${score} \/ ${questions.length}&lt;\/h3>`;\n}\n\nfunction saveScore(name, score) {\n  let scores = JSON.parse(localStorage.getItem(\"quizScores\")) || &#91;];\n\n  scores.push({\n    name,\n    score,\n    date: new Date().toLocaleString()\n  });\n\n  localStorage.setItem(\"quizScores\", JSON.stringify(scores));\n}\n\nfunction loadScoreboard() {\n  let scores = JSON.parse(localStorage.getItem(\"quizScores\")) || &#91;];\n\n  scores.sort((a, b) => b.score - a.score);\n\n  document.getElementById(\"scoreList\").innerHTML = scores.map(s => {\n    return `&lt;li>${escapeHTML(s.name)} - ${s.score}\/10 (${escapeHTML(s.date)})&lt;\/li>`;\n  }).join(\"\");\n}\n\nfunction escapeHTML(value) {\n  return String(value).replace(\/&#91;&amp;&lt;>\"']\/g, char => ({\n    \"&amp;\": \"&amp;amp;\",\n    \"&lt;\": \"&amp;lt;\",\n    \">\": \"&amp;gt;\",\n    '\"': \"&amp;quot;\",\n    \"'\": \"&amp;#39;\"\n  })&#91;char]);\n}\n&lt;\/script>\n\n&lt;\/body>\n&lt;\/html><\/code><\/pre>\n\n\n\n<!--nextpage-->\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>ch5part1<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-5500","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/apicalclasses.com\/index.php?rest_route=\/wp\/v2\/posts\/5500","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/apicalclasses.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/apicalclasses.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/apicalclasses.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/apicalclasses.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5500"}],"version-history":[{"count":1,"href":"https:\/\/apicalclasses.com\/index.php?rest_route=\/wp\/v2\/posts\/5500\/revisions"}],"predecessor-version":[{"id":5501,"href":"https:\/\/apicalclasses.com\/index.php?rest_route=\/wp\/v2\/posts\/5500\/revisions\/5501"}],"wp:attachment":[{"href":"https:\/\/apicalclasses.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5500"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/apicalclasses.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5500"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/apicalclasses.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5500"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}