{"id":238,"date":"2025-08-20T16:58:13","date_gmt":"2025-08-20T11:28:13","guid":{"rendered":"https:\/\/myschoolnow.in\/?p=238"},"modified":"2025-08-20T17:00:32","modified_gmt":"2025-08-20T11:30:32","slug":"quiz-1-2","status":"publish","type":"post","link":"https:\/\/myschoolnow.in\/?p=238","title":{"rendered":"Quiz &#8211; 1"},"content":{"rendered":"\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\" \/>\n  <title>Vocabulary Quiz \u2014 Grade 6<\/title>\n  <style>\n    body{\n      font-family: Arial, sans-serif;\n      background:#fff;\n      color:#000;\n      margin:0;\n      padding:0;\n    }\n    .container{\n      max-width:900px;\n      margin:0 auto;\n      padding:20px;\n    }\n    h1{font-size:22px;margin-bottom:10px}\n    p.subtitle{color:#555;margin-bottom:20px}\n    .question{margin-bottom:20px;padding:10px;border:1px solid #ccc;border-radius:6px;background:#f9f9f9}\n    .q-text{font-weight:bold;margin-bottom:10px}\n    .options label{display:block;margin:6px 0;padding:6px;border:1px solid #ccc;border-radius:4px;cursor:pointer}\n    .options label:hover{background:#eee}\n    button{margin-top:20px;padding:10px 16px;border:none;border-radius:6px;cursor:pointer}\n    button.primary{background:#000;color:#fff}\n    #resultBox{margin-top:20px;padding:12px;border:1px solid #ccc;border-radius:6px;background:#f2f2f2;display:none}\n  <\/style>\n<\/head>\n<body>\n  <div class=\"container\">\n    <h1>Vocabulary Quiz \u2014 Grade 6<\/h1>\n    <p class=\"subtitle\">Choose the correct word for each phrase.<\/p>\n\n    <form id=\"quizForm\">\n      <!-- Questions will be inserted here -->\n    <\/form>\n\n    <button id=\"submitBtn\" class=\"primary\" type=\"button\">Submit<\/button>\n    <button id=\"resetBtn\" type=\"button\">Reset<\/button>\n\n    <div id=\"resultBox\"><\/div>\n  <\/div>\n\n  <script>\n    const questions = [\n      {q:'Which word means \"very difficult or hard to understand\"?', choices:['Complicated','Simple','Easy'], answer:'Complicated'},\n      {q:'If your friend is sick, what should you do to keep yourself safe?', choices:['Avoid','Play with','Invite'], answer:'Avoid'},\n      {q:'Two weeks make a _____.', choices:['Month','Fortnight','Year'], answer:'Fortnight'},\n      {q:'Planting trees can help to ____ the effects of heat.', choices:['Mitigate','Increase','Create'], answer:'Mitigate'},\n      {q:'The teacher showed us a small ____ of the model.', choices:['Sample','Book','Chapter'], answer:'Sample'},\n      {q:'You missed school yesterday, so you must ____ with the lessons today.', choices:['Catchup','Sleep','Forget'], answer:'Catchup'},\n      {q:'The bright star seemed to _____ all the others in the sky.', choices:['Outshine','Hide','Break'], answer:'Outshine'},\n      {q:'The twins look the same. They ____ each other.', choices:['Resemble','Fight','Ignore'], answer:'Resemble'},\n      {q:'The food was not fresh; it tasted really ____.', choices:['Lousy','Delicious','Sweet'], answer:'Lousy'},\n      {q:'The teacher asked us to say the poem again. She told us to ____.', choices:['Repeat','Erase','Forget'], answer:'Repeat'}\n    ];\n\n    const form = document.getElementById('quizForm');\n    const resultBox = document.getElementById('resultBox');\n\n    questions.forEach((q,i)=>{\n      const div = document.createElement('div');\n      div.className = 'question';\n      div.innerHTML = `<div class='q-text'>${i+1}. ${q.q}<\/div>`;\n      const opts = document.createElement('div');\n      opts.className = 'options';\n      q.choices.forEach(c=>{\n        const id = `q${i}_${c}`;\n        opts.innerHTML += `<label><input type='radio' name='q${i}' value='${c}'> ${c}<\/label>`;\n      });\n      div.appendChild(opts);\n      form.appendChild(div);\n    });\n\n    document.getElementById('submitBtn').addEventListener('click',()=>{\n      let score=0;\n      questions.forEach((q,i)=>{\n        const selected = form.querySelector(`input[name=q${i}]:checked`);\n        if(selected && selected.value===q.answer){score++;}\n      });\n      resultBox.style.display='block';\n      resultBox.innerHTML=`<b>You scored ${score} out of ${questions.length}<\/b>`;\n    });\n\n    document.getElementById('resetBtn').addEventListener('click',()=>{\n      form.reset();\n      resultBox.style.display='none';\n    });\n  <\/script>\n<\/body>\n<\/html>\n\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Vocabulary Quiz \u2014 Grade 6 Vocabulary Quiz \u2014 Grade 6 Choose the correct word for each phrase. Submit Reset<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-238","post","type-post","status-publish","format-standard","hentry","category-quiz"],"_links":{"self":[{"href":"https:\/\/myschoolnow.in\/index.php?rest_route=\/wp\/v2\/posts\/238","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/myschoolnow.in\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/myschoolnow.in\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/myschoolnow.in\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/myschoolnow.in\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=238"}],"version-history":[{"count":2,"href":"https:\/\/myschoolnow.in\/index.php?rest_route=\/wp\/v2\/posts\/238\/revisions"}],"predecessor-version":[{"id":240,"href":"https:\/\/myschoolnow.in\/index.php?rest_route=\/wp\/v2\/posts\/238\/revisions\/240"}],"wp:attachment":[{"href":"https:\/\/myschoolnow.in\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=238"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/myschoolnow.in\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=238"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/myschoolnow.in\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=238"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}