{"id":130,"date":"2025-07-29T11:15:41","date_gmt":"2025-07-29T05:45:41","guid":{"rendered":"https:\/\/myschoolnow.in\/?p=130"},"modified":"2025-07-29T11:15:41","modified_gmt":"2025-07-29T05:45:41","slug":"mind-maths-series-1","status":"publish","type":"post","link":"https:\/\/myschoolnow.in\/?p=130","title":{"rendered":"Mind Maths &#8211; Series 1"},"content":{"rendered":"\n<!DOCTYPE html>\n<html>\n<head>\n  <title>Mind Math Quiz<\/title>\n  <style>\n    body {\n      font-family: Arial, sans-serif;\n      background-color: white;\n      color: black;\n      padding: 20px;\n    }\n    h1 {\n      margin-bottom: 20px;\n    }\n    .question-box {\n      background-color: #f0f0f0;\n      border: 1px solid grey;\n      border-radius: 10px;\n      padding: 15px;\n      margin-bottom: 15px;\n    }\n    .question-box input {\n      margin-top: 10px;\n      padding: 5px;\n      width: 100px;\n    }\n    .submit-btn {\n      padding: 10px 20px;\n      margin-top: 20px;\n      background-color: grey;\n      color: white;\n      border: none;\n      cursor: pointer;\n    }\n    .result {\n      font-size: 18px;\n      font-weight: bold;\n      margin-top: 20px;\n    }\n    .correct {\n      color: green;\n    }\n    .wrong {\n      color: red;\n    }\n  <\/style>\n<\/head>\n<body>\n\n  <h1>Mind Math Quiz<\/h1>\n\n  <div id=\"quiz-container\"><\/div>\n\n  <button class=\"submit-btn\" onclick=\"submitQuiz()\">Submit Answers<\/button>\n\n  <div id=\"result\" class=\"result\"><\/div>\n\n  <script>\n    const questions = [\n      { q: \"1. 38 + 47 =\", a: \"85\" },\n      { q: \"2. 96 \u2212 49 =\", a: \"47\" },\n      { q: \"3. 25 \u00d7 4 =\", a: \"100\" },\n      { q: \"4. 144 \u00f7 12 =\", a: \"12\" },\n      { q: \"5. 15% of 200 =\", a: \"30\" },\n      { q: \"6. Double of 36 =\", a: \"72\" },\n      { q: \"7. Half of 128 =\", a: \"64\" },\n      { q: \"8. 9 \u00d7 9 \u2212 9 =\", a: \"72\" },\n      { q: \"9. Add the digits of 345 =\", a: \"12\" },\n      { q: \"10. If 1 kg costs \u20b945, what do 4 kg cost? =\", a: \"180\" },\n      { q: \"11. Multiply 11 \u00d7 13 =\", a: \"143\" },\n      { q: \"12. 10\u00b2 \u2212 4\u00b2 =\", a: \"84\" },\n      { q: \"13. If 30% of a number is 60, what is the number? =\", a: \"200\" },\n      { q: \"14. 100 \u2212 25 + 15 =\", a: \"90\" },\n      { q: \"15. 3 pens at \u20b912 each, total cost? =\", a: \"36\" },\n    ];\n\n    const quizContainer = document.getElementById(\"quiz-container\");\n\n    questions.forEach((item, index) => {\n      const div = document.createElement(\"div\");\n      div.className = \"question-box\";\n      div.innerHTML = `\n        <label>${item.q}<\/label><br\/>\n        <input type=\"text\" id=\"q${index}\" \/>\n      `;\n      quizContainer.appendChild(div);\n    });\n\n    function submitQuiz() {\n      let score = 0;\n      questions.forEach((item, index) => {\n        const input = document.getElementById(\"q\" + index);\n        const userAns = input.value.trim();\n        if (userAns === item.a) {\n          input.style.border = \"2px solid green\";\n          score++;\n        } else {\n          input.style.border = \"2px solid red\";\n        }\n      });\n      document.getElementById(\"result\").innerHTML = `You got ${score} out of 15 correct.`;\n    }\n  <\/script>\n\n<\/body>\n<\/html>\n\n","protected":false},"excerpt":{"rendered":"<p>Mind Math Quiz Mind Math Quiz Submit Answers<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[],"class_list":["post-130","post","type-post","status-publish","format-standard","hentry","category-mind-maths"],"_links":{"self":[{"href":"https:\/\/myschoolnow.in\/index.php?rest_route=\/wp\/v2\/posts\/130","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=130"}],"version-history":[{"count":1,"href":"https:\/\/myschoolnow.in\/index.php?rest_route=\/wp\/v2\/posts\/130\/revisions"}],"predecessor-version":[{"id":131,"href":"https:\/\/myschoolnow.in\/index.php?rest_route=\/wp\/v2\/posts\/130\/revisions\/131"}],"wp:attachment":[{"href":"https:\/\/myschoolnow.in\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=130"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/myschoolnow.in\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=130"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/myschoolnow.in\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=130"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}