{"id":9572,"date":"2022-09-19T15:05:01","date_gmt":"2022-09-19T09:35:01","guid":{"rendered":"https:\/\/jassweb.com\/solved\/solved-javascript-quiz-program\/"},"modified":"2022-09-19T15:05:01","modified_gmt":"2022-09-19T09:35:01","slug":"solved-javascript-quiz-program","status":"publish","type":"post","link":"https:\/\/jassweb.com\/solved\/solved-javascript-quiz-program\/","title":{"rendered":"[Solved] JavaScript Quiz Program"},"content":{"rendered":"<p> [ad_1]<br \/>\n<\/p>\n<div id=\"answer-43002695\" class=\"answer js-answer accepted-answer js-accepted-answer\" data-answerid=\"43002695\" data-parentid=\"43001971\" data-score=\"1\" data-position-on-page=\"1\" data-highest-scored=\"1\" data-question-has-accepted-highest-score=\"1\" itemprop=\"acceptedAnswer\" itemscope itemtype=\"https:\/\/schema.org\/Answer\">\n<div class=\"post-layout\">\n<div class=\"votecell post-layout--left\"><\/div>\n<div class=\"answercell post-layout--right\">\n<div class=\"s-prose js-post-body\" itemprop=\"text\">\n<p>Alright. Let&#8217;s begin with our workstation.<\/p>\n<pre><code>var quiz = 0, test, test_status, question, choice, choices, chA, chB, chC, correct = 0;\n\nvar questions = [\n    [\"What is 36 + 42\", \"64\", \"78\", \"76\", \"B\"],\n    [\"What is 7 x 4?\", \"21\", \"27\", \"28\", \"C\"],\n    [\"What is 16 \/ 4?\", \"4\", \"6\", \"3\", \"A\"],\n    [\"What is 8 x 12?\", \"88\", \"112\", \"96\", \"C\"]\n];\n<\/code><\/pre>\n<p>Notice that <strong>quiz<\/strong> and <strong>correct<\/strong> are numbers only. I think &#8220;quiz&#8221; will be the counter of done questions and &#8220;correct&#8221; will be the counter of correct questions.<br \/>\nAll the other variables are undefined, except <strong>questions<\/strong> wich have a pretty curious Array&#8217;s structure. The obvious: it&#8217;s a list of questions with 3 choices only. Each question follows this structure:<\/p>\n<pre><code>[\" QUESTION \", \" OPTION A \", \" OPTION B \", \" OPTION C \", \" CORRECT OPTION \"];\n<\/code><\/pre>\n<p>So I think that&#8217;s unlimited. If you want to add some questions, try that.<\/p>\n<p>Let&#8217;s continue. After our global variables we program some functions to make the quizz happen. They&#8217;re <strong>get<\/strong> &#8211; return a DOM element by id -, <strong>renderQuestion<\/strong> &#8211; show the current question &#8211; and <strong>checkAnswer<\/strong> &#8211; action taked when someone choose an option.<br \/>\nI think that function get it&#8217;s just to clear the code, it&#8217;s not so required. Let&#8217;s jump to the next, right?<\/p>\n<pre><code>  function renderQuestion(){\n      test = get(\"test\"); \/\/document.getElementById('test')\n      if(quiz &gt;= questions.length){\n        test.innerHTML = \"&lt;h2&gt;You got \"+correct+\" of \"+questions.length+\" questions correct&lt;\/h2&gt;\";\n        get(\"test_status\").innerHTML = \"Test completed\";\n        quiz = 0;\n        correct = 0;\n        return false;\n      }\n      get(\"test_status\").innerHTML = \"Question \"+(quiz+1)+\" of \"+questions.length;\n      question = questions[quiz][0];\n      chA = questions[quiz][1];\n      chB = questions[quiz][2];\n      chC = questions[quiz][3];\n      test.innerHTML = \"&lt;h3&gt;\"+question+\"&lt;\/h3&gt;\";\n\n      test.innerHTML += \"&lt;input type=\"radio\" name=\"choices\" value=\"A\"&gt; \"+chA+\"&lt;br&gt;\";\n      test.innerHTML += \"&lt;input type=\"radio\" name=\"choices\" value=\"B\"&gt; \"+chB+\"&lt;br&gt;\";\n      test.innerHTML += \"&lt;input type=\"radio\" name=\"choices\" value=\"C\"&gt; \"+chC+\"&lt;br&gt;&lt;br&gt;\";\n      test.innerHTML += \"&lt;button onclick='checkAnswer()'&gt;Submit Answer&lt;\/button&gt;\";\n    }\n<\/code><\/pre>\n<p>The first thing this function do is <code>var test = document.getElementById('test')<\/code>. Then it checks if your quiz already ended with <code>quiz &gt;= questions.length<\/code>. That is, quiz really is just a counter of completed questions. Of course, as we&#8217;re starting, <code>quiz &lt; questions.length<\/code> will push us out of that conditional.<\/p>\n<pre><code>get(\"test_status\").innerHTML = \"Question \"+(quiz+1)+\" of \"+questions.length;\n<\/code><\/pre>\n<p>That will print &#8220;Question 1 of 4&#8221; inside DOM #test_status. Here we will finally use our undefined variables:<\/p>\n<pre><code>question = questions[quiz][0];\nchA = questions[quiz][1];\nchB = questions[quiz][2];\nchC = questions[quiz][3];\n<\/code><\/pre>\n<p>As  <code>quiz = 0<\/code>, <code>question = \"What is 36+42\"<\/code>, <code>chA = \"64\"<\/code>, <code>chB = \"78\"<\/code> and <code>chC = \"76\"<\/code>. Then we&#8217;re ready to print all the question inside DOM #test:<\/p>\n<pre><code>test.innerHTML = \"&lt;h3&gt;\"+question+\"&lt;\/h3&gt;\";\ntest.innerHTML += \"&lt;input type=\"radio\" name=\"choices\" value=\"A\"&gt; \"+chA+\"&lt;br&gt;\";\ntest.innerHTML += \"&lt;input type=\"radio\" name=\"choices\" value=\"B\"&gt; \"+chB+\"&lt;br&gt;\";\ntest.innerHTML += \"&lt;input type=\"radio\" name=\"choices\" value=\"C\"&gt; \"+chC+\"&lt;br&gt;&lt;br&gt;\";\ntest.innerHTML += \"&lt;button onclick='checkAnswer()'&gt;Submit Answer&lt;\/button&gt;\";\n<\/code><\/pre>\n<p>The output will be:<\/p>\n<pre><code>&lt;h3&gt;What is 36 + 42&lt;\/h3&gt;&lt;input type=\"radio\" name=\"choices\" value=\"A\"&gt; 64&lt;br&gt;&lt;input type=\"radio\" name=\"choices\" value=\"B\"&gt; 78&lt;br&gt;&lt;input type=\"radio\" name=\"choices\" value=\"C\"&gt; 76&lt;br&gt;&lt;button onclick='checkAnswer()'&gt;Submit Answer&lt;\/button&gt;\n<\/code><\/pre>\n<h1>Pay atention!<\/h1>\n<p>Here&#8217;s a button that calls the function checkAnswer:<\/p>\n<pre><code>&lt;button onclick='checkAnswer()'&gt;Submit Answer&lt;\/button&gt;\n<\/code><\/pre>\n<p>That&#8217;s what keep your quiz on.<br \/>\nSo, let&#8217;s &#8220;click that&#8221; to call what we need:<\/p>\n<pre><code>    function checkAnswer(){\n      choices = document.getElementsByName(\"choices\");\n      for(var i=0; i&lt;choices.length; i++){\n        if(choices[i].checked){\n          choice = choices[i].value;\n        }\n      }\n\n      if(choice == questions[quiz][4]){\n        correct++;\n      }\n      quiz++;\n      renderQuestion();\n    }\n<\/code><\/pre>\n<p>The first thing: <strong>what&#8217;s our choices?<\/strong><\/p>\n<pre><code>choices = document.getElementsByName(\"choices\");\n<\/code><\/pre>\n<p>Now we have them. But what&#8217;s our selected choice&#8217;s value?<\/p>\n<pre><code>for(var i=0; i&lt;choices.length; i++){\n    if(choices[i].checked){\n        choice = choices[i].value;\n    }\n}\n<\/code><\/pre>\n<p>Remember: choice<strong>s<\/strong> is our <em>current list of choices<\/em>, <strong>choice<\/strong> is our <em>current choice&#8217;s value<\/em>. Let&#8217;s continue.<\/p>\n<pre><code>if(choice == questions[quiz][4]){\n     correct++;\n}\n<\/code><\/pre>\n<p>It verifies if our <em>current choice&#8217;s value<\/em> is equal to our <em>current question&#8217;s <strong>correct choice<\/strong><\/em>. If it&#8217;s, then our counter of correct questions will be incremented.<\/p>\n<pre><code>quiz++;\nrenderQuestion();\n<\/code><\/pre>\n<p>Just to finish: we move to the next question and call renderQuestion to start over again. When you finish the last one question, the renderQuestion function will stop on that conditional <code>quiz &gt;= questions.length<\/code>, calling this:<\/p>\n<pre><code>test.innerHTML = \"&lt;h2&gt;You got \"+correct+\" of \"+questions.length+\" questions correct&lt;\/h2&gt;\";\nget(\"test_status\").innerHTML = \"Test completed\";\nquiz = 0;\ncorrect = 0;\nreturn false;\n<\/code><\/pre>\n<p>I think it&#8217;s easier to understand now.<\/p>\n<p>Oh, I almost forgot. Did we started the quiz? Not. That&#8217;s what this do:<\/p>\n<pre><code>window.addEventListener(\"load\", renderQuestion, false);\n<\/code><\/pre>\n<p>When your window&#8217;s ready, it&#8217;ll call renderQuestion() for you.<\/p>\n<\/p><\/div>\n<div class=\"mt24\"><\/div>\n<\/div>\n<p>            <span class=\"d-none\" itemprop=\"commentCount\"><\/span> <\/p><\/div>\n<\/div>\n<p>[ad_2]<\/p>\n<p>solved JavaScript Quiz Program <\/p>\n","protected":false},"excerpt":{"rendered":"<p>[ad_1] Alright. Let&#8217;s begin with our workstation. var quiz = 0, test, test_status, question, choice, choices, chA, chB, chC, correct = 0; var questions = [ [&#8220;What is 36 + 42&#8221;, &#8220;64&#8221;, &#8220;78&#8221;, &#8220;76&#8221;, &#8220;B&#8221;], [&#8220;What is 7 x 4?&#8221;, &#8220;21&#8221;, &#8220;27&#8221;, &#8220;28&#8221;, &#8220;C&#8221;], [&#8220;What is 16 \/ 4?&#8221;, &#8220;4&#8221;, &#8220;6&#8221;, &#8220;3&#8221;, &#8220;A&#8221;], [&#8220;What is &#8230; <a title=\"[Solved] JavaScript Quiz Program\" class=\"read-more\" href=\"https:\/\/jassweb.com\/solved\/solved-javascript-quiz-program\/\" aria-label=\"More on [Solved] JavaScript Quiz Program\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[320],"tags":[333],"class_list":["post-9572","post","type-post","status-publish","format-standard","hentry","category-solved","tag-javascript"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>[Solved] JavaScript Quiz Program - JassWeb<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/jassweb.com\/solved\/solved-javascript-quiz-program\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"[Solved] JavaScript Quiz Program - JassWeb\" \/>\n<meta property=\"og:description\" content=\"[ad_1] Alright. Let&#8217;s begin with our workstation. var quiz = 0, test, test_status, question, choice, choices, chA, chB, chC, correct = 0; var questions = [ [&quot;What is 36 + 42&quot;, &quot;64&quot;, &quot;78&quot;, &quot;76&quot;, &quot;B&quot;], [&quot;What is 7 x 4?&quot;, &quot;21&quot;, &quot;27&quot;, &quot;28&quot;, &quot;C&quot;], [&quot;What is 16 \/ 4?&quot;, &quot;4&quot;, &quot;6&quot;, &quot;3&quot;, &quot;A&quot;], [&quot;What is ... Read more\" \/>\n<meta property=\"og:url\" content=\"https:\/\/jassweb.com\/solved\/solved-javascript-quiz-program\/\" \/>\n<meta property=\"og:site_name\" content=\"JassWeb\" \/>\n<meta property=\"article:published_time\" content=\"2022-09-19T09:35:01+00:00\" \/>\n<meta name=\"author\" content=\"Kirat\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Kirat\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/jassweb.com\/solved\/solved-javascript-quiz-program\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/jassweb.com\/solved\/solved-javascript-quiz-program\/\"},\"author\":{\"name\":\"Kirat\",\"@id\":\"https:\/\/jassweb.com\/solved\/#\/schema\/person\/65c9c7b7958150c0dc8371fa35dd7c31\"},\"headline\":\"[Solved] JavaScript Quiz Program\",\"datePublished\":\"2022-09-19T09:35:01+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/jassweb.com\/solved\/solved-javascript-quiz-program\/\"},\"wordCount\":395,\"publisher\":{\"@id\":\"https:\/\/jassweb.com\/solved\/#organization\"},\"keywords\":[\"javascript\"],\"articleSection\":[\"Solved\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/jassweb.com\/solved\/solved-javascript-quiz-program\/\",\"url\":\"https:\/\/jassweb.com\/solved\/solved-javascript-quiz-program\/\",\"name\":\"[Solved] JavaScript Quiz Program - JassWeb\",\"isPartOf\":{\"@id\":\"https:\/\/jassweb.com\/solved\/#website\"},\"datePublished\":\"2022-09-19T09:35:01+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/jassweb.com\/solved\/solved-javascript-quiz-program\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/jassweb.com\/solved\/solved-javascript-quiz-program\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/jassweb.com\/solved\/solved-javascript-quiz-program\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/jassweb.com\/solved\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"[Solved] JavaScript Quiz Program\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/jassweb.com\/solved\/#website\",\"url\":\"https:\/\/jassweb.com\/solved\/\",\"name\":\"JassWeb\",\"description\":\"Build High-quality Websites\",\"publisher\":{\"@id\":\"https:\/\/jassweb.com\/solved\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/jassweb.com\/solved\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/jassweb.com\/solved\/#organization\",\"name\":\"Jass Web\",\"url\":\"https:\/\/jassweb.com\/solved\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/jassweb.com\/solved\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/jassweb.com\/wp-content\/uploads\/2021\/02\/jass-website-logo-1.png\",\"contentUrl\":\"https:\/\/jassweb.com\/wp-content\/uploads\/2021\/02\/jass-website-logo-1.png\",\"width\":693,\"height\":132,\"caption\":\"Jass Web\"},\"image\":{\"@id\":\"https:\/\/jassweb.com\/solved\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/jassweb.com\/solved\/#\/schema\/person\/65c9c7b7958150c0dc8371fa35dd7c31\",\"name\":\"Kirat\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/jassweb.com\/solved\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/jassweb.com\/solved\/wp-content\/litespeed\/avatar\/1261af3c9451399fa1336d28b98ea3bb.jpg?ver=1776403586\",\"contentUrl\":\"https:\/\/jassweb.com\/solved\/wp-content\/litespeed\/avatar\/1261af3c9451399fa1336d28b98ea3bb.jpg?ver=1776403586\",\"caption\":\"Kirat\"},\"sameAs\":[\"http:\/\/jassweb.com\"],\"url\":\"https:\/\/jassweb.com\/solved\/author\/jaspritsinghghumangmail-com\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"[Solved] JavaScript Quiz Program - JassWeb","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/jassweb.com\/solved\/solved-javascript-quiz-program\/","og_locale":"en_US","og_type":"article","og_title":"[Solved] JavaScript Quiz Program - JassWeb","og_description":"[ad_1] Alright. Let&#8217;s begin with our workstation. var quiz = 0, test, test_status, question, choice, choices, chA, chB, chC, correct = 0; var questions = [ [\"What is 36 + 42\", \"64\", \"78\", \"76\", \"B\"], [\"What is 7 x 4?\", \"21\", \"27\", \"28\", \"C\"], [\"What is 16 \/ 4?\", \"4\", \"6\", \"3\", \"A\"], [\"What is ... Read more","og_url":"https:\/\/jassweb.com\/solved\/solved-javascript-quiz-program\/","og_site_name":"JassWeb","article_published_time":"2022-09-19T09:35:01+00:00","author":"Kirat","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Kirat","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/jassweb.com\/solved\/solved-javascript-quiz-program\/#article","isPartOf":{"@id":"https:\/\/jassweb.com\/solved\/solved-javascript-quiz-program\/"},"author":{"name":"Kirat","@id":"https:\/\/jassweb.com\/solved\/#\/schema\/person\/65c9c7b7958150c0dc8371fa35dd7c31"},"headline":"[Solved] JavaScript Quiz Program","datePublished":"2022-09-19T09:35:01+00:00","mainEntityOfPage":{"@id":"https:\/\/jassweb.com\/solved\/solved-javascript-quiz-program\/"},"wordCount":395,"publisher":{"@id":"https:\/\/jassweb.com\/solved\/#organization"},"keywords":["javascript"],"articleSection":["Solved"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/jassweb.com\/solved\/solved-javascript-quiz-program\/","url":"https:\/\/jassweb.com\/solved\/solved-javascript-quiz-program\/","name":"[Solved] JavaScript Quiz Program - JassWeb","isPartOf":{"@id":"https:\/\/jassweb.com\/solved\/#website"},"datePublished":"2022-09-19T09:35:01+00:00","breadcrumb":{"@id":"https:\/\/jassweb.com\/solved\/solved-javascript-quiz-program\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/jassweb.com\/solved\/solved-javascript-quiz-program\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/jassweb.com\/solved\/solved-javascript-quiz-program\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/jassweb.com\/solved\/"},{"@type":"ListItem","position":2,"name":"[Solved] JavaScript Quiz Program"}]},{"@type":"WebSite","@id":"https:\/\/jassweb.com\/solved\/#website","url":"https:\/\/jassweb.com\/solved\/","name":"JassWeb","description":"Build High-quality Websites","publisher":{"@id":"https:\/\/jassweb.com\/solved\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/jassweb.com\/solved\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/jassweb.com\/solved\/#organization","name":"Jass Web","url":"https:\/\/jassweb.com\/solved\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/jassweb.com\/solved\/#\/schema\/logo\/image\/","url":"https:\/\/jassweb.com\/wp-content\/uploads\/2021\/02\/jass-website-logo-1.png","contentUrl":"https:\/\/jassweb.com\/wp-content\/uploads\/2021\/02\/jass-website-logo-1.png","width":693,"height":132,"caption":"Jass Web"},"image":{"@id":"https:\/\/jassweb.com\/solved\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/jassweb.com\/solved\/#\/schema\/person\/65c9c7b7958150c0dc8371fa35dd7c31","name":"Kirat","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/jassweb.com\/solved\/#\/schema\/person\/image\/","url":"https:\/\/jassweb.com\/solved\/wp-content\/litespeed\/avatar\/1261af3c9451399fa1336d28b98ea3bb.jpg?ver=1776403586","contentUrl":"https:\/\/jassweb.com\/solved\/wp-content\/litespeed\/avatar\/1261af3c9451399fa1336d28b98ea3bb.jpg?ver=1776403586","caption":"Kirat"},"sameAs":["http:\/\/jassweb.com"],"url":"https:\/\/jassweb.com\/solved\/author\/jaspritsinghghumangmail-com\/"}]}},"_links":{"self":[{"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/posts\/9572","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/comments?post=9572"}],"version-history":[{"count":0,"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/posts\/9572\/revisions"}],"wp:attachment":[{"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/media?parent=9572"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/categories?post=9572"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jassweb.com\/solved\/wp-json\/wp\/v2\/tags?post=9572"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}