{"id":5346,"date":"2026-11-02T14:03:22","date_gmt":"2026-11-02T14:03:22","guid":{"rendered":"https:\/\/apicalclasses.com\/?p=5346"},"modified":"2026-11-02T14:03:23","modified_gmt":"2026-11-02T14:03:23","slug":"class-8th-subject-science-ch2-3","status":"publish","type":"post","link":"https:\/\/apicalclasses.com\/?p=5346","title":{"rendered":"class 8th, subject science, ch2"},"content":{"rendered":"\n<!--nextpage-->\n\n\n\n<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n  <meta charset=\"UTF-8\">\n  <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n  <title>\ud83e\udde0 Science Quiz \u2013 Onion Peel Experiment<\/title>\n\n  <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\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\n    h2 {\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      margin-bottom: 15px;\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\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\n    button: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\n    ol {\n      padding-left: 20px;\n    }\n  <\/style>\n<\/head>\n\n<body>\n\n  <div class=\"quiz-container\">\n\n    <h2>\ud83e\udde0 Science Quiz \u2013 Onion Peel Experiment<\/h2>\n\n    <div id=\"nameSection\">\n      <p><strong>Enter your name to start:<\/strong><\/p>\n      <input type=\"text\" id=\"userName\" placeholder=\"Your Name\">\n      <button onclick=\"startQuiz()\">Start Quiz<\/button>\n    <\/div>\n\n    <div id=\"quizSection\" style=\"display:none;\">\n\n      <div id=\"questionContainer\"><\/div>\n\n      <div class=\"controls\">\n        <button onclick=\"prevQuestion()\" id=\"prevBtn\">Previous<\/button>\n        <button onclick=\"nextQuestion()\" id=\"nextBtn\">Next<\/button>\n        <button onclick=\"submitQuiz()\" id=\"submitBtn\" style=\"display:none;\">Submit<\/button>\n      <\/div>\n\n      <div id=\"result\" style=\"text-align:center; margin-top:20px;\"><\/div>\n\n      <div id=\"scoreboard\">\n        <h3>\ud83c\udfc6 Scoreboard<\/h3>\n        <ol id=\"scoreList\"><\/ol>\n      <\/div>\n\n    <\/div>\n  <\/div>\n\n<script>\n\nconst questions = [\n\n  {\n    question: \"1. All living beings kis basic unit se bane hote hain?\",\n    options: [\n      \"A. Rocks\",\n      \"B. Cells\",\n      \"C. Soil particles\",\n      \"D. Water drops\"\n    ],\n    correct: 1,\n    explanation: \"Sabhi living beings, including plants aur animals, cells se bane hote hain. Cell ko life ki basic structural unit kaha jaata hai.<br><br><strong>Example:<\/strong> Onion plant aur human body dono cells se bane hote hain, although unke cells ki shape aur structure different ho sakte hain.\"\n  },\n\n  {\n    question: \"2. Onion peel ko onion bulb se remove karne ke liye kis instrument ka use kiya jaata hai?\",\n    options: [\n      \"A. Thermometer\",\n      \"B. Magnet\",\n      \"C. Forceps\",\n      \"D. Measuring cylinder\"\n    ],\n    correct: 2,\n    explanation: \"Forceps ek tool hai jiska use kisi thin layer ya chhoti object ko carefully pakadne aur remove karne ke liye kiya jaata hai.<br><br><strong>Example:<\/strong> Onion ki inner surface se thin, transparent peel ko forceps ki help se nikala ja sakta hai.\"\n  },\n\n  {\n    question: \"3. Onion peel ko safranin stain mein approximately kitni der rakha jaata hai?\",\n    options: [\n      \"A. 30 seconds\",\n      \"B. 5 minutes\",\n      \"C. 10 minutes\",\n      \"D. 1 hour\"\n    ],\n    correct: 0,\n    explanation: \"Onion peel ko safranin, jo red-coloured stain hai, mein approximately 30 seconds rakha jaata hai. Stain cells ko pinkish colour deta hai, jisse microscope ke neeche unhe dekhna easier hota hai.<br><br><strong>Example:<\/strong> Bina stain ke onion peel ke cells ki details kam clear ho sakti hain, jabki stained cells zyada clearly dikh sakte hain.\"\n  },\n\n  {\n    question: \"4. Onion peel ko safranin mein rakhne ke baad water mein rinse kyun kiya jaata hai?\",\n    options: [\n      \"A. Cells ko completely dissolve karne ke liye\",\n      \"B. Cells ka size double karne ke liye\",\n      \"C. Onion peel ko dry karne ke liye\",\n      \"D. Extra stain remove karne ke liye\"\n    ],\n    correct: 3,\n    explanation: \"Staining ke baad onion peel ko water se rinse kiya jaata hai, taaki extra stain remove ho jaaye aur cells ko clearly observe kiya ja sake.<br><br><strong>Example:<\/strong> Agar peel par bahut zyada stain reh jaaye, toh cells ki details dekhna difficult ho sakta hai.\"\n  },\n\n  {\n    question: \"5. Onion peel par glycerin ki drop kyun daali jaati hai?\",\n    options: [\n      \"A. Onion peel ko jalane ke liye\",\n      \"B. Cells ko dry hone se bachane aur clarity improve karne ke liye\",\n      \"C. Cells ko stain se completely wash karne ke liye\",\n      \"D. Microscope ko clean karne ke liye\"\n    ],\n    correct: 1,\n    explanation: \"Glycerin onion peel ko dry hone se bachata hai aur cells ko better visualise karne mein help karta hai.<br><br><strong>Example:<\/strong> Microscope slide par glycerin ki drop lagane se onion peel observation ke dauraan moist reh sakta hai.\"\n  },\n\n  {\n    question: \"6. Coverslip ko onion peel par slowly kyun place kiya jaata hai?\",\n    options: [\n      \"A. Cells ko fold karne ke liye\",\n      \"B. Stain ka colour change karne ke liye\",\n      \"C. Air bubbles ko trap hone se bachane ke liye\",\n      \"D. Onion peel ko remove karne ke liye\"\n    ],\n    correct: 2,\n    explanation: \"Coverslip ko carefully place karne se air bubbles trap hone ki possibility kam hoti hai. Air bubbles microscope ke neeche observation mein disturbance create kar sakte hain.<br><br><strong>Example:<\/strong> Agar coverslip ke neeche air bubble aa jaaye, toh woh cell jaisa dikh sakta hai aur observation confuse kar sakta hai.\"\n  },\n\n  {\n    question: \"7. Microscope ke neeche onion peel ke cells generally kis shape ke dikhai dete hain?\",\n    options: [\n      \"A. Nearly rectangular\",\n      \"B. Perfectly circular\",\n      \"C. Star-shaped\",\n      \"D. Spiral-shaped\"\n    ],\n    correct: 0,\n    explanation: \"Onion peel ke cells microscope ke neeche generally nearly rectangular structures ki tarah dikhai dete hain. Ye cells closely arranged hote hain aur unke beech bahut kam ya koi visible gap nahi hota.<br><br><strong>Example:<\/strong> Onion peel ki cells ki arrangement brick wall ki tarah lag sakti hai, jisme rectangular shapes ek-doosre ke paas arranged hoti hain.\"\n  },\n\n  {\n    question: \"8. Onion peel ko microscope slide par rakhte waqt kya dhyaan rakhna chahiye?\",\n    options: [\n      \"A. Peel ko fold kar dena chahiye\",\n      \"B. Peel ko completely dry kar dena chahiye\",\n      \"C. Coverslip ko zor se press karna chahiye\",\n      \"D. Peel ko carefully rakhna chahiye, taaki woh break ya fold na ho\"\n    ],\n    correct: 3,\n    explanation: \"Onion peel ek thin layer hoti hai, isliye use brush ki help se carefully slide par transfer karna chahiye. Fold ya break hone par cells ko observe karna difficult ho sakta hai.<br><br><strong>Example:<\/strong> Agar peel fold ho jaaye, toh microscope mein cells ki layers overlap kar sakti hain.\"\n  },\n\n  {\n    question: \"9. Onion peel ke cells ko clearly observe karne ke liye kaunsa combination sahi hai?\",\n    options: [\n      \"A. Onion peel, soil aur magnet\",\n      \"B. Stained onion peel, glass slide, coverslip aur microscope\",\n      \"C. Onion peel, thermometer aur candle\",\n      \"D. Onion peel, weighing machine aur ruler only\"\n    ],\n    correct: 1,\n    explanation: \"Onion peel ko stain karke glass slide par mount kiya jaata hai, glycerin add ki jaati hai aur coverslip carefully lagayi jaati hai. Phir microscope se cells observe kiye jaate hain.<br><br><strong>Example:<\/strong> Safranin se stained onion peel ko microscope ke neeche rakhne par uski rectangular cell arrangement clearly observe ki ja sakti hai.\"\n  },\n\n  {\n    question: \"10. Onion peel ke experiment se humein kya pata chalta hai?\",\n    options: [\n      \"A. Sirf onion hi living organism hai\",\n      \"B. Plants cells se nahi bane hote\",\n      \"C. Plants cells se bane hote hain\",\n      \"D. Onion peel mein koi structure nahi hota\"\n    ],\n    correct: 2,\n    explanation: \"Onion peel ko microscope se observe karne par cells dikhai dete hain. Different plants ke leaves aur doosre parts mein bhi cells hote hain. Isse pata chalta hai ki plants cells se bane hote hain.<br><br><strong>Example:<\/strong> Onion plant aur mango plant dono cells se bane hain, lekin unke different parts mein cells ki shape aur arrangement alag ho sakti hai.\"\n  }\n\n];\n\nlet currentQuestion = 0;\nlet score = 0;\nlet userAnswers = [];\nlet userName = \"\";\nlet submitted = false;\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[currentQuestion];\n  const container = document.getElementById(\"questionContainer\");\n\n  container.innerHTML = `\n    <div class=\"question\">${q.question}<\/div>\n\n    <div class=\"options\">\n      ${q.options.map((opt, i) => `\n        <label>\n          <input type=\"radio\" name=\"option\" value=\"${i}\"\n          ${userAnswers[currentQuestion] == i ? 'checked' : ''}>\n          ${opt}\n        <\/label>\n      `).join('')}\n    <\/div>\n\n    <div class=\"explanation\" id=\"explain${currentQuestion}\">\n      ${q.explanation}\n    <\/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 < 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[name=\"option\"]:checked');\n\n  userAnswers[currentQuestion] = selected\n    ? parseInt(selected.value)\n    : null;\n}\n\nfunction submitQuiz() {\n\n  if (submitted) return;\n\n  saveAnswer();\n\n  score = 0;\n\n  questions.forEach((q, index) => {\n    if (userAnswers[index] === q.correct) {\n      score++;\n    }\n  });\n\n  submitted = true;\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[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 && selected !== correct) {\n        cls = \"wrong\";\n      }\n\n      return `<label class=\"${cls}\">${opt}<\/label>`;\n\n    }).join(\"\");\n\n    container.innerHTML += `\n      <div class=\"question\">${q.question}<\/div>\n\n      <div class=\"options\">\n        ${optsHTML}\n      <\/div>\n\n      <div class=\"explanation\" style=\"display:block;\">\n        ${q.explanation}\n      <\/div>\n\n      <hr>\n    `;\n  });\n\n  document.querySelector(\".controls\").style.display = \"none\";\n\n  document.getElementById(\"result\").innerHTML = `\n    <h3>Your Score: ${score} \/ ${questions.length}<\/h3>\n  `;\n}\n\nfunction saveScore(name, score) {\n\n  let scores = JSON.parse(localStorage.getItem(\"quizScores\")) || [];\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\")) || [];\n\n  scores.sort((a, b) => b.score - a.score);\n\n  document.getElementById(\"scoreList\").innerHTML =\n    scores.map(s =>\n      `<li>${s.name} - ${s.score}\/10 (${s.date})<\/li>`\n    ).join(\"\");\n}\n\n<\/script>\n\n<\/body>\n<\/html>\n","protected":false},"excerpt":{"rendered":"<p>\ud83e\udde0 Science Quiz \u2013 Onion Peel Experiment \ud83e\udde0 Science Quiz \u2013 Onion Peel Experiment Enter your name to start: Start Quiz Previous Next Submit \ud83c\udfc6 Scoreboard<\/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-5346","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/apicalclasses.com\/index.php?rest_route=\/wp\/v2\/posts\/5346","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=5346"}],"version-history":[{"count":1,"href":"https:\/\/apicalclasses.com\/index.php?rest_route=\/wp\/v2\/posts\/5346\/revisions"}],"predecessor-version":[{"id":5347,"href":"https:\/\/apicalclasses.com\/index.php?rest_route=\/wp\/v2\/posts\/5346\/revisions\/5347"}],"wp:attachment":[{"href":"https:\/\/apicalclasses.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5346"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/apicalclasses.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5346"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/apicalclasses.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5346"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}