{"id":1479,"date":"2026-05-25T14:59:00","date_gmt":"2026-05-25T14:59:00","guid":{"rendered":"https:\/\/cuentoskecuentan.com\/?page_id=1479"},"modified":"2026-05-25T15:27:28","modified_gmt":"2026-05-25T15:27:28","slug":"problemas-fracciones-mismo-denominador","status":"publish","type":"page","link":"https:\/\/cuentoskecuentan.com\/?page_id=1479","title":{"rendered":"Problemas fracciones mismo denominador"},"content":{"rendered":"\n<div class=\"mathApp793d7a\">\n  <div class=\"card793d7a\">\n\n    <h2>Fraction Word Problems<\/h2>\n\n    <p class=\"subtitle793d7a\">\n      Practice fractions with the same denominator\n    <\/p>\n\n    <!-- LEVELS -->\n    <div class=\"levelBox793d7a\">\n\n      <button class=\"levelBtn793d7a active793d7a\" data-level=\"beginner\">\n        Beginner\n      <\/button>\n\n      <button class=\"levelBtn793d7a\" data-level=\"intermediate\">\n        Intermediate\n      <\/button>\n\n      <button class=\"levelBtn793d7a\" data-level=\"advanced\">\n        Advanced\n      <\/button>\n\n    <\/div>\n\n    <!-- PROGRESS -->\n    <div class=\"progressWrap793d7a\">\n      <div class=\"progressBar793d7a\" id=\"progress793d7a\"><\/div>\n    <\/div>\n\n    <div class=\"progressText793d7a\" id=\"progressText793d7a\">\n      Question 1 of 10\n    <\/div>\n\n    <!-- QUESTION -->\n    <div class=\"problemBox793d7a\">\n\n      <div class=\"keywordBox793d7a\">\n        <strong>Key Words:<\/strong>\n        <span id=\"keywords793d7a\"><\/span>\n      <\/div>\n\n      <div class=\"problem793d7a\" id=\"problem793d7a\"><\/div>\n\n      <input\n        type=\"text\"\n        id=\"answer793d7a\"\n        class=\"input793d7a\"\n        placeholder=\"Example: 5\/8\"\n      >\n\n      <button class=\"hintBtn793d7a\" id=\"hintBtn793d7a\">\n        Show Hint\n      <\/button>\n\n      <button class=\"checkBtn793d7a\" id=\"checkBtn793d7a\">\n        Check Answer\n      <\/button>\n\n      <div class=\"feedback793d7a\" id=\"feedback793d7a\"><\/div>\n\n    <\/div>\n\n    <!-- SCORE -->\n    <div class=\"score793d7a\" id=\"score793d7a\">\n      Score: 0 \/ 0\n    <\/div>\n\n    <button\n      class=\"nextBtn793d7a\"\n      id=\"nextBtn793d7a\"\n      style=\"display:none;\"\n    >\n      Next Problem\n    <\/button>\n\n  <\/div>\n<\/div>\n\n<style>\n\n.mathApp793d7a{\n  font-family:Arial,sans-serif;\n  display:flex;\n  justify-content:center;\n  padding:20px;\n}\n\n.card793d7a{\n  width:100%;\n  max-width:760px;\n  background:white;\n  border-radius:20px;\n  padding:25px;\n  box-shadow:0 8px 25px rgba(0,0,0,0.15);\n  border-top:10px solid #793d7a;\n}\n\n.card793d7a h2{\n  text-align:center;\n  color:#793d7a;\n}\n\n.subtitle793d7a{\n  text-align:center;\n  color:#666;\n  margin-bottom:25px;\n}\n\n.levelBox793d7a{\n  display:flex;\n  gap:10px;\n  justify-content:center;\n  flex-wrap:wrap;\n  margin-bottom:20px;\n}\n\n.levelBtn793d7a{\n  padding:12px 18px;\n  border:none;\n  border-radius:12px;\n  background:#eee;\n  cursor:pointer;\n  font-weight:bold;\n}\n\n.active793d7a{\n  background:#793d7a;\n  color:white;\n}\n\n.progressWrap793d7a{\n  width:100%;\n  height:22px;\n  background:#eee;\n  border-radius:20px;\n  overflow:hidden;\n  margin-bottom:10px;\n}\n\n.progressBar793d7a{\n  height:100%;\n  width:10%;\n  background:#793d7a;\n  transition:0.4s;\n}\n\n.progressText793d7a{\n  text-align:center;\n  font-weight:bold;\n  margin-bottom:25px;\n}\n\n.problemBox793d7a{\n  background:#faf7fa;\n  border-radius:18px;\n  padding:25px;\n}\n\n.keywordBox793d7a{\n  background:#f0dff0;\n  padding:12px;\n  border-radius:12px;\n  margin-bottom:20px;\n  color:#793d7a;\n  font-size:18px;\n}\n\n.problem793d7a{\n  font-size:26px;\n  line-height:1.8;\n  margin-bottom:25px;\n}\n\n.highlight793d7a{\n  color:#793d7a;\n  font-weight:bold;\n  background:#f4d8f4;\n  padding:2px 6px;\n  border-radius:6px;\n}\n\n.input793d7a{\n  width:100%;\n  padding:15px;\n  font-size:22px;\n  border-radius:12px;\n  border:2px solid #ccc;\n  margin-bottom:20px;\n  box-sizing:border-box;\n}\n\n.hintBtn793d7a{\n  width:100%;\n  padding:15px;\n  border:none;\n  border-radius:12px;\n  background:#ead7ea;\n  color:#793d7a;\n  font-size:18px;\n  font-weight:bold;\n  cursor:pointer;\n  margin-bottom:15px;\n}\n\n.checkBtn793d7a,\n.nextBtn793d7a{\n  width:100%;\n  padding:15px;\n  border:none;\n  border-radius:12px;\n  background:#793d7a;\n  color:white;\n  font-size:18px;\n  font-weight:bold;\n  cursor:pointer;\n}\n\n.feedback793d7a{\n  margin-top:20px;\n  background:white;\n  border-radius:14px;\n  padding:18px;\n  line-height:1.8;\n  font-size:18px;\n}\n\n.hintBox793d7a{\n  background:#f8eef8;\n  border-left:5px solid #793d7a;\n  padding:15px;\n  border-radius:10px;\n}\n\n.good793d7a{\n  color:green;\n  font-size:22px;\n  font-weight:bold;\n}\n\n.bad793d7a{\n  color:crimson;\n  font-size:22px;\n  font-weight:bold;\n}\n\n.score793d7a{\n  text-align:center;\n  font-size:22px;\n  margin-top:25px;\n  color:#793d7a;\n  font-weight:bold;\n}\n\n<\/style>\n\n<script>\n\nconst names793d7a = [\n\"Emma\",\"Liam\",\"Sophia\",\"Noah\",\n\"Mia\",\"Lucas\",\"Olivia\",\"Ethan\"\n];\n\nfunction rand793d7a(min,max){\nreturn Math.floor(Math.random()*(max-min+1))+min;\n}\n\nfunction name793d7a(){\nreturn names793d7a[\nrand793d7a(0,names793d7a.length-1)\n];\n}\n\nfunction gcd793d7a(a,b){\nwhile(b){\n[a,b]=[b,a%b];\n}\nreturn a;\n}\n\nfunction simplify793d7a(n,d){\n\nlet g = gcd793d7a(n,d);\n\nreturn [n\/g,d\/g];\n\n}\n\nfunction make793d7a(\ntext,\nanswer,\nkeywords,\noperation,\nfractions\n){\nreturn {\ntext,\nanswer,\nkeywords,\noperation,\nfractions\n};\n}\n\nconst levels793d7a = {\n\nbeginner:[\n\n() => {\n\nlet d = rand793d7a(2,6);\n\nlet a = rand793d7a(1,d-1);\n\nlet b = rand793d7a(1,d-a);\n\nlet total = a+b;\n\nlet simple = simplify793d7a(total,d);\n\nreturn make793d7a(\n\n`${name793d7a()} ate <span class=\"highlight793d7a\">${a}\/${d}<\/span> of a pizza at lunch and <span class=\"highlight793d7a\">${b}\/${d}<\/span> more at dinner. What fraction of the pizza was eaten altogether?`,\n\n`${simple[0]}\/${simple[1]}`,\n\n[\"altogether\",\"more\",\"eaten\"],\n\n\"addition\",\n\n[`${a}\/${d}`,`${b}\/${d}`]\n\n);\n\n},\n\n() => {\n\nlet d = rand793d7a(4,8);\n\nlet eaten = rand793d7a(1,d-2);\n\nlet left = d-eaten;\n\nlet simple = simplify793d7a(left,d);\n\nreturn make793d7a(\n\n`A pie was cut into ${d} equal slices. ${name793d7a()} ate <span class=\"highlight793d7a\">${eaten}\/${d}<\/span> of the pie. What fraction of the pie is left?`,\n\n`${simple[0]}\/${simple[1]}`,\n\n[\"left\",\"ate\",\"fraction\"],\n\n\"subtraction\",\n\n[`${d}\/${d}`,`${eaten}\/${d}`]\n\n);\n\n}\n\n],\n\nintermediate:[\n\n() => {\n\nlet d = rand793d7a(4,10);\n\nlet a = rand793d7a(1,d-2);\n\nlet b = rand793d7a(1,d-a);\n\nlet total = a+b;\n\nlet simple = simplify793d7a(total,d);\n\nreturn make793d7a(\n\n`A water tank was filled <span class=\"highlight793d7a\">${a}\/${d}<\/span> in the morning and <span class=\"highlight793d7a\">${b}\/${d}<\/span> more in the afternoon. What fraction of the tank is full now?`,\n\n`${simple[0]}\/${simple[1]}`,\n\n[\"full now\",\"filled\",\"more\"],\n\n\"addition\",\n\n[`${a}\/${d}`,`${b}\/${d}`]\n\n);\n\n},\n\n() => {\n\nlet d = rand793d7a(5,12);\n\nlet start = rand793d7a(3,d-1);\n\nlet used = rand793d7a(1,start-1);\n\nlet remain = start-used;\n\nlet simple = simplify793d7a(remain,d);\n\nreturn make793d7a(\n\n`A bottle contained <span class=\"highlight793d7a\">${start}\/${d}<\/span> of a liter of juice. ${name793d7a()} drank <span class=\"highlight793d7a\">${used}\/${d}<\/span> of a liter. What fraction of a liter remains?`,\n\n`${simple[0]}\/${simple[1]}`,\n\n[\"remains\",\"drank\",\"left\"],\n\n\"subtraction\",\n\n[`${start}\/${d}`,`${used}\/${d}`]\n\n);\n\n}\n\n],\n\nadvanced:[\n\n() => {\n\nlet d = rand793d7a(6,12);\n\nlet a = rand793d7a(1,d-3);\n\nlet b = rand793d7a(1,d-a-1);\n\nlet c = rand793d7a(1,d-a-b);\n\nlet total = a+b+c;\n\nlet simple = simplify793d7a(total,d);\n\nreturn make793d7a(\n\n`${name793d7a()} completed <span class=\"highlight793d7a\">${a}\/${d}<\/span> of a homework assignment on Monday, <span class=\"highlight793d7a\">${b}\/${d}<\/span> on Tuesday, and <span class=\"highlight793d7a\">${c}\/${d}<\/span> on Wednesday. What fraction of the assignment was completed in all?`,\n\n`${simple[0]}\/${simple[1]}`,\n\n[\"completed\",\"in all\",\"total\"],\n\n\"addition\",\n\n[`${a}\/${d}`,`${b}\/${d}`,`${c}\/${d}`]\n\n);\n\n}\n\n]\n\n};\n\nlet level793d7a = \"beginner\";\nlet current793d7a;\nlet score793d7a = 0;\nlet total793d7a = 0;\nlet question793d7a = 1;\n\nconst problemEl793d7a = document.getElementById(\"problem793d7a\");\nconst answerEl793d7a = document.getElementById(\"answer793d7a\");\nconst feedbackEl793d7a = document.getElementById(\"feedback793d7a\");\nconst scoreEl793d7a = document.getElementById(\"score793d7a\");\nconst nextBtn793d7a = document.getElementById(\"nextBtn793d7a\");\nconst progress793d7a = document.getElementById(\"progress793d7a\");\nconst progressText793d7a = document.getElementById(\"progressText793d7a\");\nconst keywords793d7a = document.getElementById(\"keywords793d7a\");\n\nfunction newProblem793d7a(){\n\nlet arr = levels793d7a[level793d7a];\n\ncurrent793d7a =\narr[rand793d7a(0,arr.length-1)]();\n\nproblemEl793d7a.innerHTML =\ncurrent793d7a.text;\n\nkeywords793d7a.innerHTML =\ncurrent793d7a.keywords.join(\", \");\n\nanswerEl793d7a.value = \"\";\n\nfeedbackEl793d7a.innerHTML = \"\";\n\nnextBtn793d7a.style.display = \"none\";\n\nupdateProgress793d7a();\n\n}\n\nfunction updateProgress793d7a(){\n\nlet percent = (question793d7a\/10)*100;\n\nprogress793d7a.style.width =\npercent + \"%\";\n\nprogressText793d7a.innerHTML =\n`Question ${question793d7a} of 10`;\n\n}\n\n\/* HINTS *\/\n\ndocument.getElementById(\"hintBtn793d7a\")\n.addEventListener(\"click\",()=>{\n\nlet f = current793d7a.fractions;\n\nlet msg = \"\";\n\nif(current793d7a.operation===\"addition\"){\n\nmsg = `\n\n<div class=\"hintBox793d7a\">\n\n&#x1f4a1; Add the fractions carefully.<br><br>\n\nFractions:<br>\n${f.join(\" + \")}<br><br>\n\n&#x2705; Add ONLY the numerators.<br>\n&#x2705; Keep the denominator the same.\n\n<\/div>\n\n`;\n\n}else{\n\nmsg = `\n\n<div class=\"hintBox793d7a\">\n\n&#x1f4a1; Subtract the fractions carefully.<br><br>\n\nStart with: ${f[0]}<br>\nTake away: ${f[1]}<br><br>\n\n&#x2705; Subtract the numerators.<br>\n&#x2705; Keep the denominator the same.\n\n<\/div>\n\n`;\n\n}\n\nfeedbackEl793d7a.innerHTML = msg;\n\n});\n\n\/* CHECK *\/\n\ndocument.getElementById(\"checkBtn793d7a\")\n.addEventListener(\"click\",()=>{\n\nlet userAnswer =\nanswerEl793d7a.value.trim();\n\nif(userAnswer===\"\"){\n\nfeedbackEl793d7a.innerHTML =\n\n`<div class=\"bad793d7a\">\n&#x26a0;&#xfe0f; Please type an answer first.\n<\/div>`;\n\nreturn;\n\n}\n\ntotal793d7a++;\n\nif(userAnswer === current793d7a.answer){\n\nscore793d7a++;\n\nfeedbackEl793d7a.innerHTML =\n\n`<div class=\"good793d7a\">\n&#x2705; Great job!\n<\/div>\n\n<div>\nCorrect answer:\n<strong>${current793d7a.answer}<\/strong>\n<\/div>`;\n\n}else{\n\nfeedbackEl793d7a.innerHTML =\n\n`<div class=\"bad793d7a\">\n&#x274c; Not quite.\n<\/div>\n\n<div>\nCorrect answer:\n<strong>${current793d7a.answer}<\/strong>\n<\/div>`;\n\n}\n\nscoreEl793d7a.innerHTML =\n`Score: ${score793d7a} \/ ${total793d7a}`;\n\nnextBtn793d7a.style.display =\n\"block\";\n\n});\n\n\/* NEXT *\/\n\nnextBtn793d7a.addEventListener(\"click\",()=>{\n\nquestion793d7a++;\n\nif(question793d7a > 10){\n\nproblemEl793d7a.innerHTML =\n\"&#x1f389; You finished the game!\";\n\nfeedbackEl793d7a.innerHTML =\n`Final Score: ${score793d7a} \/ 10`;\n\nanswerEl793d7a.style.display = \"none\";\n\ndocument.getElementById(\"checkBtn793d7a\")\n.style.display = \"none\";\n\ndocument.getElementById(\"hintBtn793d7a\")\n.style.display = \"none\";\n\nnextBtn793d7a.style.display = \"none\";\n\nreturn;\n\n}\n\nnewProblem793d7a();\n\n});\n\n\/* LEVEL BUTTONS *\/\n\ndocument.querySelectorAll(\".levelBtn793d7a\")\n.forEach(btn=>{\n\nbtn.addEventListener(\"click\",()=>{\n\ndocument.querySelectorAll(\".levelBtn793d7a\")\n.forEach(b=>\nb.classList.remove(\"active793d7a\")\n);\n\nbtn.classList.add(\"active793d7a\");\n\nlevel793d7a = btn.dataset.level;\n\nscore793d7a = 0;\ntotal793d7a = 0;\nquestion793d7a = 1;\n\nscoreEl793d7a.innerHTML =\n\"Score: 0 \/ 0\";\n\nnewProblem793d7a();\n\n});\n\n});\n\nnewProblem793d7a();\n\n<\/script>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Fraction Word Problems Practice fractions with the same denominator Beginner Intermediate Advanced Question 1 of 10 Key Words: Show Hint Check Answer Score: 0 \/ [&hellip;]<\/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-1479","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/cuentoskecuentan.com\/index.php?rest_route=\/wp\/v2\/pages\/1479","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cuentoskecuentan.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/cuentoskecuentan.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/cuentoskecuentan.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cuentoskecuentan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1479"}],"version-history":[{"count":9,"href":"https:\/\/cuentoskecuentan.com\/index.php?rest_route=\/wp\/v2\/pages\/1479\/revisions"}],"predecessor-version":[{"id":1490,"href":"https:\/\/cuentoskecuentan.com\/index.php?rest_route=\/wp\/v2\/pages\/1479\/revisions\/1490"}],"wp:attachment":[{"href":"https:\/\/cuentoskecuentan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1479"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}