{"id":1037,"date":"2026-08-06T02:40:03","date_gmt":"2026-08-06T02:40:03","guid":{"rendered":"https:\/\/online.vibrantonlineacademy.com\/?page_id=1037"},"modified":"2026-08-06T02:50:06","modified_gmt":"2026-08-06T02:50:06","slug":"brave-hearts-indias-freedom-struggle","status":"publish","type":"page","link":"https:\/\/online.vibrantonlineacademy.com\/index.php\/brave-hearts-indias-freedom-struggle\/","title":{"rendered":"Brave Hearts \u2013 India&#8217;s Freedom Struggle"},"content":{"rendered":"\n<div class=\"quiz-container\" id=\"quiz\"><\/div>\n\n<button class=\"submit-btn\" onclick=\"submitQuiz()\">Submit Quiz<\/button>\n<button class=\"submit-btn\" onclick=\"restartQuiz()\">Restart Quiz<\/button>\n\n<div class=\"result\" id=\"result\"><\/div>\n\n\n<script>\nconst questions = [\n  { q: \"Who is called the Father of the Nation?\", a: [\"Jawaharlal Nehru\", \"Mahatma Gandhi\", \"Subhas Chandra Bose\", \"Bhagat Singh\"], correct: 1 },\n\n  { q: \"Mahatma Gandhi believed in:\", a: [\"Violence\", \"War\", \"Non-violence (Ahimsa)\", \"Fighting with weapons\"], correct: 2 },\n\n  { q: \"Which country ruled India before independence?\", a: [\"France\", \"Japan\", \"Britain\", \"China\"], correct: 2 },\n\n  { q: \"India became independent on:\", a: [\"26 January 1950\", \"15 August 1947\", \"2 October 1869\", \"14 November 1889\"], correct: 1 },\n\n  { q: \"Who gave the slogan 'Give me blood, and I will give you freedom'?\", a: [\"Mahatma Gandhi\", \"Jawaharlal Nehru\", \"Subhas Chandra Bose\", \"Bhagat Singh\"], correct: 2 },\n\n  { q: \"Bhagat Singh was known for his:\", a: [\"Music\", \"Courage and patriotism\", \"Painting\", \"Farming\"], correct: 1 },\n\n  { q: \"Which movement was started by Mahatma Gandhi in 1942?\", a: [\"Green Revolution\", \"Quit India Movement\", \"White Revolution\", \"Chipko Movement\"], correct: 1 },\n\n  { q: \"Who was India's first Prime Minister?\", a: [\"Mahatma Gandhi\", \"Sardar Vallabhbhai Patel\", \"Jawaharlal Nehru\", \"Rajendra Prasad\"], correct: 2 },\n\n  { q: \"Which leader is known as the Iron Man of India?\", a: [\"Bhagat Singh\", \"Sardar Vallabhbhai Patel\", \"Subhas Chandra Bose\", \"Lal Bahadur Shastri\"], correct: 1 },\n\n  { q: \"What does the word 'freedom' mean?\", a: [\"Living under foreign rule\", \"Being independent\", \"Going to school\", \"Travelling\"], correct: 1 },\n\n  { q: \"Which famous march did Mahatma Gandhi lead in 1930?\", a: [\"Salt March (Dandi March)\", \"Long March\", \"Freedom Walk\", \"Victory March\"], correct: 0 },\n\n  { q: \"Which festival celebrates India's Independence?\", a: [\"Republic Day\", \"Children's Day\", \"Independence Day\", \"Gandhi Jayanti\"], correct: 2 },\n\n  { q: \"What was Subhas Chandra Bose also called?\", a: [\"Bapu\", \"Netaji\", \"Chacha\", \"Sardar\"], correct: 1 },\n\n  { q: \"Who inspired many Indians through peaceful protests?\", a: [\"Mahatma Gandhi\", \"Tipu Sultan\", \"Shivaji Maharaj\", \"Rani Lakshmibai\"], correct: 0 },\n\n  { q: \"Which queen fought bravely against the British in 1857?\", a: [\"Rani Lakshmibai\", \"Rani Velu Nachiyar\", \"Razia Sultan\", \"Ahilyabai Holkar\"], correct: 0 },\n\n  { q: \"Which colour in the Indian National Flag stands for courage and sacrifice?\", a: [\"White\", \"Green\", \"Saffron\", \"Blue\"], correct: 2 },\n\n  { q: \"Which symbol is at the centre of the Indian National Flag?\", a: [\"Lotus\", \"Ashoka Chakra\", \"Lion\", \"Star\"], correct: 1 },\n\n  { q: \"Who wrote the song 'Vande Mataram'?\", a: [\"Rabindranath Tagore\", \"Bankim Chandra Chattopadhyay\", \"Sarojini Naidu\", \"Subhas Chandra Bose\"], correct: 1 },\n\n  { q: \"Why do we remember our freedom fighters?\", a: [\"They were rich\", \"They helped India become free\", \"They built schools only\", \"They played games\"], correct: 1 },\n\n  { q: \"What should we do to honour our freedom fighters?\", a: [\"Ignore our country\", \"Respect our nation and be responsible citizens\", \"Waste resources\", \"Break rules\"], correct: 1 }\n];\n\nfunction renderQuiz() {\n    const quizDiv = document.getElementById(\"quiz\");\n    quizDiv.innerHTML = \"\";\n    questions.forEach((q, i) => {\n      let html = `<div class=\"question\" id=\"q${i}\"><h4>Q${i + 1}. ${q.q}<\/h4><div class=\"answers\">`;\n      q.a.forEach((opt, j) => {\n        html += `<label><input type=\"radio\" name=\"q${i}\" value=\"${j}\"> ${opt}<\/label>`;\n      });\n      html += \"<\/div><\/div>\";\n      quizDiv.innerHTML += html;\n    });\n  }\n\n  function submitQuiz() {\n    let score = 0;\n    questions.forEach((q, i) => {\n      const selected = document.querySelector(`input[name=\"q${i}\"]:checked`);\n      const labels = document.querySelectorAll(`#q${i} .answers label`);\n      labels.forEach(label => label.classList.remove(\"correct\", \"wrong\"));\n      if (selected) {\n        const answer = parseInt(selected.value);\n        if (answer === q.correct) {\n          score++;\n        } else {\n          labels[answer].classList.add(\"wrong\");\n        }\n        labels[q.correct].classList.add(\"correct\");\n      }\n    });\n    document.getElementById(\"result\").innerHTML = `\u2705 You scored <strong>${score}<\/strong> out of <strong>${questions.length}<\/strong>.`;\n    document.querySelector(\"button[onclick='submitQuiz()']\").disabled = true;\n  }\n\n  function restartQuiz() {\n    document.getElementById(\"quiz\").innerHTML = \"\";\n    document.getElementById(\"result\").innerHTML = \"\";\n    document.querySelector(\"button[onclick='submitQuiz()']\").disabled = false;\n    renderQuiz();\n  }\n\n  \/\/ Render quiz when the page loads\n  document.addEventListener(\"DOMContentLoaded\", renderQuiz);\n<\/script>\n","protected":false},"excerpt":{"rendered":"<p>Submit Quiz Restart Quiz<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1037","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/online.vibrantonlineacademy.com\/index.php\/wp-json\/wp\/v2\/pages\/1037","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/online.vibrantonlineacademy.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/online.vibrantonlineacademy.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/online.vibrantonlineacademy.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/online.vibrantonlineacademy.com\/index.php\/wp-json\/wp\/v2\/comments?post=1037"}],"version-history":[{"count":2,"href":"https:\/\/online.vibrantonlineacademy.com\/index.php\/wp-json\/wp\/v2\/pages\/1037\/revisions"}],"predecessor-version":[{"id":1039,"href":"https:\/\/online.vibrantonlineacademy.com\/index.php\/wp-json\/wp\/v2\/pages\/1037\/revisions\/1039"}],"wp:attachment":[{"href":"https:\/\/online.vibrantonlineacademy.com\/index.php\/wp-json\/wp\/v2\/media?parent=1037"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}