{"id":976,"date":"2026-02-16T16:46:11","date_gmt":"2026-02-16T16:46:11","guid":{"rendered":"https:\/\/cuentoskecuentan.com\/?page_id=976"},"modified":"2026-05-22T17:46:33","modified_gmt":"2026-05-22T17:46:33","slug":"1034-2","status":"publish","type":"page","link":"https:\/\/cuentoskecuentan.com\/?page_id=976","title":{"rendered":"1034"},"content":{"rendered":"\n<iframe loading=\"lazy\" src=\"https:\/\/drive.google.com\/file\/d\/14SzgBAXO8ztF1XHf842-y86ejwHgvFKf\/preview\" width=\"640\" height=\"480\"><\/iframe>\n\n\n\n<div class=\"vocabBoxLeft793d7a\">\n  <div class=\"vocabCardLeft793d7a\">\n\n    <div id=\"imageLeft793d7a\" class=\"imageLeft793d7a\"><\/div>\n\n    <div id=\"wordLeft793d7a\" class=\"wordLeft793d7a\"><\/div>\n\n    <div id=\"meaningLeft793d7a\" class=\"meaningLeft793d7a\"><\/div>\n\n    <div class=\"navLeft793d7a\">\n      <button onclick=\"prevLeft793d7a()\">&#x25c0; Anterior<\/button>\n      <button onclick=\"nextLeft793d7a()\">Siguiente &#x25b6;<\/button>\n    <\/div>\n\n  <\/div>\n<\/div>\n\n<style>\n.vocabBoxLeft793d7a{\n  max-width: 340px;\n  margin: 20px 0;\n  font-family: Arial, sans-serif;\n}\n\n.vocabCardLeft793d7a{\n  border: 2px solid #793d7a;\n  border-radius: 14px;\n  padding: 20px;\n  background: #fff;\n  text-align: center;\n  box-shadow: 0 4px 10px rgba(0,0,0,.08);\n}\n\n.imageLeft793d7a{\n  font-size: 80px;\n  margin-bottom: 12px;\n  min-height: 90px;\n  display:flex;\n  align-items:center;\n  justify-content:center;\n}\n\n.wordLeft793d7a{\n  font-size: 30px;\n  font-weight: bold;\n  color: #793d7a;\n  margin-bottom: 10px;\n}\n\n.meaningLeft793d7a{\n  font-size: 19px;\n  color: #333;\n  margin-bottom: 20px;\n}\n\n.navLeft793d7a{\n  display: flex;\n  justify-content: space-between;\n  gap: 10px;\n}\n\n.navLeft793d7a button{\n  flex:1;\n  background: #793d7a;\n  color: #fff;\n  border: none;\n  padding: 10px 12px;\n  border-radius: 8px;\n  font-size: 15px;\n  cursor: pointer;\n  transition: .2s;\n}\n\n.navLeft793d7a button:hover{\n  background:#5e2f5f;\n  transform:scale(1.03);\n}\n<\/style>\n\n<script>\n(function(){\n\n  var vocabLeft793d7a = [\n\n    {w:\"rich\", m:\"rico\", i:\"&#x1f4b0;\"},\n    {w:\"which\", m:\"cu\u00e1l \/ que\", i:\"&#x2753;\"},\n    {w:\"ranch\", m:\"rancho\", i:\"&#x1f434;\"},\n    {w:\"chicken\", m:\"pollo\", i:\"&#x1f414;\"},\n    {w:\"children\", m:\"ni\u00f1os\", i:\"&#x1f9d2;\"},\n    {w:\"reach\", m:\"alcanzar\", i:\"&#x1f64c;\"},\n    {w:\"preach\", m:\"predicar\", i:\"&#x1f4d6;\"},\n    {w:\"porch\", m:\"porche\", i:\"&#x1f3e1;\"},\n    {w:\"lunch\", m:\"almuerzo\", i:\"&#x1f34e;\"},\n    {w:\"write\", m:\"escribir\", i:\"&#x270f;&#xfe0f;\"},\n    {w:\"Christian\", m:\"cristiano\", i:\"&#x26ea;\"},\n    {w:\"Jesus\", m:\"Jes\u00fas\", i:\"&#x1f64f;\"},\n    {w:\"catch\", m:\"atrapar\", i:\"&#x1f9e4;\"},\n    {w:\"hatch\", m:\"eclosionar\", i:\"&#x1f423;\"},\n    {w:\"another\", m:\"otro \/ otra\", i:\"&#x1f501;\"},\n    {w:\"bother\", m:\"molestar\", i:\"&#x1f616;\"},\n    {w:\"brother\", m:\"hermano\", i:\"&#x1f466;\"},\n    {w:\"feather\", m:\"pluma\", i:\"&#x1fab6;\"},\n    {w:\"weather\", m:\"clima\", i:\"&#x1f324;&#xfe0f;\"},\n    {w:\"together\", m:\"juntos\", i:\"&#x1f91d;\"},\n    {w:\"grandfather\", m:\"abuelo\", i:\"&#x1f474;\"},\n    {w:\"grandmother\", m:\"abuela\", i:\"&#x1f475;\"},\n    {w:\"center\", m:\"centro\", i:\"&#x1f3af;\"},\n    {w:\"face\", m:\"cara\", i:\"&#x1f642;\"},\n    {w:\"fence\", m:\"cerca \/ valla\", i:\"&#x1fab5;\"},\n    {w:\"ice\", m:\"hielo\", i:\"&#x1f9ca;\"},\n    {w:\"nice\", m:\"agradable \/ bonito\", i:\"&#x1f60a;\"},\n    {w:\"office\", m:\"oficina\", i:\"&#x1f3e2;\"},\n    {w:\"since\", m:\"desde \/ ya que\", i:\"&#x23f0;\"},\n    {w:\"police\", m:\"polic\u00eda\", i:\"&#x1f46e;\"},\n    {w:\"polite\", m:\"educado \/ cort\u00e9s\", i:\"&#x1f601;\"},\n    {w:\"honest\", m:\"honesto\", i:\"&#x1f44d;\"},\n    {w:\"honor\", m:\"honor\", i:\"&#x1f3c5;\"},\n    {w:\"lamb\", m:\"cordero\", i:\"&#x1f411;\"},\n    {w:\"crumb\", m:\"migaja\", i:\"&#x1f35e;\"},\n    {w:\"listen\", m:\"escuchar\", i:\"&#x1f442;\"},\n    {w:\"often\", m:\"a menudo\", i:\"&#x1f504;\"},\n    {w:\"know\", m:\"saber \/ conocer\", i:\"&#x1f9e0;\"},\n    {w:\"knew\", m:\"sab\u00eda \/ conoc\u00eda\", i:\"&#x1f4a1;\"}\n\n  ];\n\n  var posLeft793d7a = 0;\n\n  function renderLeft793d7a(){\n\n    document.getElementById(\"imageLeft793d7a\").innerHTML =\n      vocabLeft793d7a[posLeft793d7a].i;\n\n    document.getElementById(\"wordLeft793d7a\").innerHTML =\n      vocabLeft793d7a[posLeft793d7a].w;\n\n    document.getElementById(\"meaningLeft793d7a\").innerHTML =\n      vocabLeft793d7a[posLeft793d7a].m;\n  }\n\n  window.nextLeft793d7a = function(){\n\n    posLeft793d7a++;\n\n    if(posLeft793d7a >= vocabLeft793d7a.length){\n      posLeft793d7a = 0;\n    }\n\n    renderLeft793d7a();\n  };\n\n  window.prevLeft793d7a = function(){\n\n    posLeft793d7a--;\n\n    if(posLeft793d7a < 0){\n      posLeft793d7a = vocabLeft793d7a.length - 1;\n    }\n\n    renderLeft793d7a();\n  };\n\n  renderLeft793d7a();\n\n})();\n<\/script>\n\n\n\n<div class=\"vocabBox793d7a\">\n  <div class=\"vocabCard793d7a\">\n\n    <div class=\"meaning793d7a\" id=\"meaning793d7a\"><\/div>\n\n    <input\n      type=\"text\"\n      id=\"input793d7a\"\n      class=\"input793d7a\"\n      placeholder=\"Escribe la palabra en ingl\u00e9s\"\n    >\n\n    <div class=\"buttons793d7a\">\n      <button onclick=\"check793d7a()\">Revisar<\/button>\n      <button onclick=\"next793d7a()\">Siguiente<\/button>\n    <\/div>\n\n    <div id=\"feedback793d7a\" class=\"feedback793d7a\"><\/div>\n\n  <\/div>\n<\/div>\n\n<style>\n.vocabBox793d7a{\n  max-width: 300px;\n  margin: 20px 0;\n}\n\n.vocabCard793d7a{\n  border: 2px solid #793d7a;\n  border-radius: 10px;\n  padding: 16px;\n  background: #fff;\n  text-align: center;\n}\n\n.meaning793d7a{\n  font-size: 18px;\n  margin-bottom: 12px;\n}\n\n.input793d7a{\n  width: 100%;\n  padding: 8px;\n  font-size: 16px;\n  border: 1.5px solid #793d7a;\n  border-radius: 6px;\n  margin-bottom: 10px;\n}\n\n.buttons793d7a{\n  display: flex;\n  justify-content: space-between;\n  margin-bottom: 8px;\n}\n\n.buttons793d7a button{\n  background: #793d7a;\n  color: white;\n  border: none;\n  border-radius: 6px;\n  padding: 6px 10px;\n  font-size: 14px;\n  cursor: pointer;\n}\n\n.feedback793d7a{\n  min-height: 18px;\n  font-size: 14px;\n}\n\n.ok793d7a{ color: #2e7d32; }\n.no793d7a{ color: #c62828; }\n<\/style>\n\n<script>\n(function(){\n\n  var vocab793d7a = [\n    {w:\"rich\", m:\"rico\"},\n    {w:\"which\", m:\"cu\u00e1l \/ que\"},\n    {w:\"ranch\", m:\"rancho\"},\n    {w:\"chicken\", m:\"pollo\"},\n    {w:\"children\", m:\"ni\u00f1os\"},\n    {w:\"reach\", m:\"alcanzar\"},\n    {w:\"preach\", m:\"predicar\"},\n    {w:\"porch\", m:\"porche\"},\n    {w:\"lunch\", m:\"almuerzo\"},\n    {w:\"write\", m:\"escribir\"},\n    {w:\"Christian\", m:\"cristiano\"},\n    {w:\"Jesus\", m:\"Jes\u00fas\"},\n    {w:\"catch\", m:\"atrapar\"},\n    {w:\"hatch\", m:\"eclosionar \/ escotilla\"},\n    {w:\"another\", m:\"otro \/ otra\"},\n    {w:\"bother\", m:\"molestar\"},\n    {w:\"brother\", m:\"hermano\"},\n    {w:\"feather\", m:\"pluma\"},\n    {w:\"weather\", m:\"clima\"},\n    {w:\"together\", m:\"juntos\"},\n    {w:\"grandfather\", m:\"abuelo\"},\n    {w:\"grandmother\", m:\"abuela\"},\n    {w:\"center\", m:\"centro\"},\n    {w:\"face\", m:\"cara\"},\n    {w:\"fence\", m:\"cerca \/ valla\"},\n    {w:\"ice\", m:\"hielo\"},\n    {w:\"nice\", m:\"agradable \/ bonito\"},\n    {w:\"office\", m:\"oficina\"},\n    {w:\"since\", m:\"desde \/ ya que\"},\n    {w:\"police\", m:\"polic\u00eda\"},\n    {w:\"polite\", m:\"educado \/ cort\u00e9s\"},\n    {w:\"honest\", m:\"honesto\"},\n    {w:\"honor\", m:\"honor\"},\n    {w:\"lamb\", m:\"cordero\"},\n    {w:\"crumb\", m:\"migaja\"},\n    {w:\"listen\", m:\"escuchar\"},\n    {w:\"often\", m:\"a menudo\"},\n    {w:\"know\", m:\"saber \/ conocer\"},\n    {w:\"knew\", m:\"sab\u00eda \/ conoc\u00eda\"}\n  ];\n\n  var pos793d7a = 0;\n\n  function render793d7a(){\n    document.getElementById(\"meaning793d7a\").innerHTML = vocab793d7a[pos793d7a].m;\n  }\n\n  window.check793d7a = function(){\n    var user = document.getElementById(\"input793d7a\").value.toLowerCase().trim();\n    var correct = vocab793d7a[pos793d7a].w.toLowerCase();\n    var fb = document.getElementById(\"feedback793d7a\");\n\n    if(user === correct){\n      fb.innerHTML = \"\u00a1Correcto!\";\n      fb.className = \"feedback793d7a ok793d7a\";\n    } else {\n      fb.innerHTML = \"Intenta otra vez\";\n      fb.className = \"feedback793d7a no793d7a\";\n    }\n  };\n\n  window.next793d7a = function(){\n    pos793d7a++;\n    if(pos793d7a >= vocab793d7a.length){\n      pos793d7a = 0;\n    }\n\n    render793d7a();\n    document.getElementById(\"input793d7a\").value = \"\";\n    document.getElementById(\"feedback793d7a\").innerHTML = \"\";\n    document.getElementById(\"feedback793d7a\").className = \"feedback793d7a\";\n  };\n\n  render793d7a();\n\n})();\n<\/script>\n\n\n\n<div class=\"listenBox793d7a\">\n  <div class=\"listenCard793d7a\">\n\n    <h3>Escucha y selecciona la palabra correcta<\/h3>\n\n    <button class=\"playBtn793d7a\" onclick=\"playWord793d7a()\">\n      &#x25b6; Escuchar\n    <\/button>\n\n    <div id=\"options793d7a\" class=\"options793d7a\"><\/div>\n\n    <div id=\"feedback793d7a\" class=\"feedback793d7a\"><\/div>\n\n    <button class=\"nextBtn793d7a\" onclick=\"next793d7a()\">\n      Siguiente\n    <\/button>\n\n  <\/div>\n<\/div>\n\n<style>\n.listenBox793d7a{\n  max-width:520px;\n  margin:20px 0;\n  font-family:Arial;\n}\n\n.listenCard793d7a{\n  border:2px solid #793d7a;\n  border-radius:14px;\n  padding:20px;\n  background:white;\n  text-align:left;\n}\n\n.listenCard793d7a h3{\n  color:#793d7a;\n  margin-bottom:18px;\n}\n\n.playBtn793d7a,\n.nextBtn793d7a{\n  background:#793d7a;\n  color:white;\n  border:none;\n  border-radius:10px;\n  padding:10px 18px;\n  font-size:16px;\n  cursor:pointer;\n  margin:8px 8px 8px 0;\n  transition:.2s;\n}\n\n.playBtn793d7a:hover,\n.nextBtn793d7a:hover{\n  transform:scale(1.03);\n}\n\n.options793d7a{\n  display:grid;\n  grid-template-columns:1fr 1fr;\n  gap:12px;\n  margin-top:20px;\n}\n\n.option793d7a{\n  border:2px solid #793d7a;\n  border-radius:10px;\n  padding:12px;\n  cursor:pointer;\n  background:#faf5fb;\n  font-size:18px;\n  transition:.2s;\n}\n\n.option793d7a:hover{\n  transform:scale(1.03);\n}\n\n.correct793d7a{\n  background:#dcedc8;\n  border-color:#4caf50;\n}\n\n.wrong793d7a{\n  background:#ffcdd2;\n  border-color:#e53935;\n}\n\n.feedback793d7a{\n  margin-top:18px;\n  min-height:24px;\n  font-size:18px;\n  font-weight:bold;\n  color:#793d7a;\n}\n\n@media(max-width:600px){\n\n  .options793d7a{\n    grid-template-columns:1fr;\n  }\n\n}\n<\/style>\n\n<script>\n(function(){\n\nconst vocab793d7a = [\n\"rich\",\n\"which\",\n\"ranch\",\n\"chicken\",\n\"children\",\n\"reach\",\n\"preach\",\n\"porch\",\n\"lunch\",\n\"write\",\n\"Christian\",\n\"Jesus\",\n\"carch\",\n\"hatch\",\n\"another\",\n\"bother\",\n\"brother\",\n\"feather\",\n\"weather\",\n\"together\",\n\"grandfather\",\n\"grandmother\",\n\"center\",\n\"face\",\n\"fence\",\n\"ice\",\n\"nice\",\n\"office\",\n\"since\",\n\"police\",\n\"polite\",\n\"honest\",\n\"honor\",\n\"lamb\",\n\"crumb\",\n\"listen\",\n\"often\",\n\"know\",\n\"knew\"\n];\n\nlet currentWord = \"\";\nlet answered = false;\n\nfunction shuffle(arr){\n  return arr.sort(()=>Math.random()-0.5);\n}\n\nfunction generateQuestion(){\n\n  answered = false;\n\n  currentWord =\n    vocab793d7a[\n      Math.floor(Math.random()*vocab793d7a.length)\n    ];\n\n  let options = [currentWord];\n\n  while(options.length < 4){\n\n    let random =\n      vocab793d7a[\n        Math.floor(Math.random()*vocab793d7a.length)\n      ];\n\n    if(!options.includes(random)){\n      options.push(random);\n    }\n  }\n\n  options = shuffle(options);\n\n  let html = \"\";\n\n  options.forEach(word=>{\n\n    html += `\n      <div class=\"option793d7a\"\n           onclick=\"choose793d7a(this,'${word}')\">\n           ${word}\n      <\/div>\n    `;\n  });\n\n  document.getElementById(\"options793d7a\").innerHTML = html;\n\n  document.getElementById(\"feedback793d7a\").innerHTML = \"\";\n}\n\nwindow.playWord793d7a = function(){\n\n  let utter =\n    new SpeechSynthesisUtterance(currentWord);\n\n  utter.lang = \"en-US\";\n  utter.rate = 0.85;\n\n  speechSynthesis.cancel();\n  speechSynthesis.speak(utter);\n}\n\nwindow.choose793d7a = function(el,word){\n\n  if(answered) return;\n\n  answered = true;\n\n  if(word === currentWord){\n\n    el.classList.add(\"correct793d7a\");\n\n    document.getElementById(\"feedback793d7a\").innerHTML =\n      \"\u00a1Correcto!\";\n\n  } else {\n\n    el.classList.add(\"wrong793d7a\");\n\n    document.getElementById(\"feedback793d7a\").innerHTML =\n      \"Intenta otra vez\";\n\n    document.querySelectorAll(\".option793d7a\").forEach(btn=>{\n\n      if(btn.innerText === currentWord){\n        btn.classList.add(\"correct793d7a\");\n      }\n\n    });\n  }\n}\n\nwindow.next793d7a = function(){\n  generateQuestion();\n}\n\ngenerateQuestion();\n\n})();\n<\/script>\n\n\n\n<div class=\"matchBox793d7a\">\n  <div class=\"matchCard793d7a\">\n\n    <h3>Relaciona cada palabra con su significado<\/h3>\n\n    <div class=\"gameArea793d7a\">\n\n      <svg id=\"lines793d7a\"><\/svg>\n\n      <div class=\"column793d7a\" id=\"words793d7a\"><\/div>\n\n      <div class=\"column793d7a\" id=\"meanings793d7a\"><\/div>\n\n    <\/div>\n\n    <div id=\"feedback793d7a\" class=\"feedback793d7a\"><\/div>\n\n  <\/div>\n<\/div>\n\n<style>\n.matchBox793d7a{\n  max-width:850px;\n  margin:20px 0;\n}\n\n.matchCard793d7a{\n  border:2px solid #793d7a;\n  border-radius:16px;\n  padding:20px;\n  background:white;\n  font-family:Arial;\n  position:relative;\n}\n\n.matchCard793d7a h3{\n  color:#793d7a;\n  margin-bottom:20px;\n}\n\n.gameArea793d7a{\n  position:relative;\n  display:flex;\n  justify-content:space-between;\n  gap:50px;\n}\n\n.column793d7a{\n  width:45%;\n  z-index:2;\n}\n\n.item793d7a{\n  background:#faf5fb;\n  border:2px solid #793d7a;\n  border-radius:12px;\n  padding:12px;\n  margin:12px 0;\n  font-size:17px;\n  cursor:pointer;\n  transition:.2s;\n  user-select:none;\n}\n\n.item793d7a:hover{\n  transform:scale(1.02);\n}\n\n.selected793d7a{\n  background:#ead7ea;\n  border-color:#5d245e;\n}\n\n.correct793d7a{\n  background:#dcedc8;\n  border-color:#4caf50;\n}\n\n.wrong793d7a{\n  background:#ffd6d6;\n  border-color:#e53935;\n}\n\n.feedback793d7a{\n  margin-top:20px;\n  font-size:18px;\n  color:#793d7a;\n  font-weight:bold;\n}\n\n#line793d7a,\n#lines793d7a{\n  position:absolute;\n  top:0;\n  left:0;\n  width:100%;\n  height:100%;\n  pointer-events:none;\n  z-index:1;\n}\n\n.line793d7a{\n  stroke:#793d7a;\n  stroke-width:3;\n}\n\n@media(max-width:700px){\n\n  .gameArea793d7a{\n    gap:20px;\n  }\n\n  .item793d7a{\n    font-size:15px;\n    padding:10px;\n  }\n\n}\n<\/style>\n\n<script>\n(function(){\n\nconst vocab793d7a = [\n{w:\"rich\", m:\"rico\"},\n{w:\"which\", m:\"cu\u00e1l \/ que\"},\n{w:\"ranch\", m:\"rancho\"},\n{w:\"chicken\", m:\"pollo\"},\n{w:\"children\", m:\"ni\u00f1os\"},\n{w:\"reach\", m:\"alcanzar\"},\n{w:\"preach\", m:\"predicar\"},\n{w:\"porch\", m:\"porche\"},\n{w:\"lunch\", m:\"almuerzo\"},\n{w:\"write\", m:\"escribir\"},\n{w:\"Christian\", m:\"cristiano\"},\n{w:\"Jesus\", m:\"Jes\u00fas\"},\n{w:\"carch\", m:\"(posible error: catch = atrapar)\"},\n{w:\"hatch\", m:\"eclosionar \/ escotilla\"},\n{w:\"another\", m:\"otro \/ otra\"},\n{w:\"bother\", m:\"molestar\"},\n{w:\"brother\", m:\"hermano\"},\n{w:\"feather\", m:\"pluma\"},\n{w:\"weather\", m:\"clima\"},\n{w:\"together\", m:\"juntos\"},\n{w:\"grandfather\", m:\"abuelo\"},\n{w:\"grandmother\", m:\"abuela\"},\n{w:\"center\", m:\"centro\"},\n{w:\"face\", m:\"cara\"},\n{w:\"fence\", m:\"cerca \/ valla\"},\n{w:\"ice\", m:\"hielo\"},\n{w:\"nice\", m:\"agradable \/ bonito\"},\n{w:\"office\", m:\"oficina\"},\n{w:\"since\", m:\"desde \/ ya que\"},\n{w:\"police\", m:\"polic\u00eda\"},\n{w:\"polite\", m:\"educado \/ cort\u00e9s\"},\n{w:\"honest\", m:\"honesto\"},\n{w:\"honor\", m:\"honor\"},\n{w:\"lamb\", m:\"cordero\"},\n{w:\"crumb\", m:\"migaja\"},\n{w:\"listen\", m:\"escuchar\"},\n{w:\"often\", m:\"a menudo\"},\n{w:\"know\", m:\"saber \/ conocer\"},\n{w:\"knew\", m:\"sab\u00eda \/ conoc\u00eda\"}\n];\n\nlet block = 0;\nlet correct = 0;\nlet selectedWord = null;\n\nfunction shuffle(arr){\n  return arr.sort(()=>Math.random()-0.5);\n}\n\nfunction render(){\n\n  correct = 0;\n  selectedWord = null;\n\n  const start = block * 5;\n\n  let chunk = vocab793d7a.slice(start,start+5);\n\n  if(chunk.length < 5){\n    block = 0;\n    chunk = vocab793d7a.slice(0,5);\n  }\n\n  let words = shuffle([...chunk]);\n  let meanings = shuffle([...chunk]);\n\n  const wordsHTML = words.map(item=>`\n    <div class=\"item793d7a word793d7a\"\n         data-word=\"${item.w}\">\n      ${item.w}\n    <\/div>\n  `).join(\"\");\n\n  const meaningsHTML = meanings.map(item=>`\n    <div class=\"item793d7a meaning793d7a\"\n         data-match=\"${item.w}\">\n      ${item.m}\n    <\/div>\n  `).join(\"\");\n\n  document.getElementById(\"words793d7a\").innerHTML = wordsHTML;\n  document.getElementById(\"meanings793d7a\").innerHTML = meaningsHTML;\n  document.getElementById(\"feedback793d7a\").innerHTML = \"\";\n  document.getElementById(\"lines793d7a\").innerHTML = \"\";\n\n  addEvents();\n}\n\nfunction addEvents(){\n\n  const words = document.querySelectorAll(\".word793d7a\");\n  const meanings = document.querySelectorAll(\".meaning793d7a\");\n\n  words.forEach(word=>{\n\n    word.addEventListener(\"click\",()=>{\n\n      if(word.classList.contains(\"correct793d7a\")) return;\n\n      words.forEach(w=>w.classList.remove(\"selected793d7a\"));\n\n      word.classList.add(\"selected793d7a\");\n\n      selectedWord = word;\n\n    });\n\n  });\n\n  meanings.forEach(meaning=>{\n\n    meaning.addEventListener(\"click\",()=>{\n\n      if(!selectedWord) return;\n\n      if(meaning.classList.contains(\"correct793d7a\")) return;\n\n      const selected = selectedWord.dataset.word;\n      const match = meaning.dataset.match;\n\n      if(selected === match){\n\n        selectedWord.classList.remove(\"selected793d7a\");\n\n        selectedWord.classList.add(\"correct793d7a\");\n        meaning.classList.add(\"correct793d7a\");\n\n        drawLine(selectedWord, meaning);\n\n        selectedWord.style.pointerEvents = \"none\";\n        meaning.style.pointerEvents = \"none\";\n\n        correct++;\n\n        selectedWord = null;\n\n        if(correct === 5){\n\n          document.getElementById(\"feedback793d7a\").innerHTML =\n          \"\u00a1Excelente! Siguiente bloque...\";\n\n          setTimeout(()=>{\n\n            block++;\n            render();\n\n          },1500);\n        }\n\n      }else{\n\n        meaning.classList.add(\"wrong793d7a\");\n        selectedWord.classList.add(\"wrong793d7a\");\n\n        setTimeout(()=>{\n\n          meaning.classList.remove(\"wrong793d7a\");\n          selectedWord.classList.remove(\"wrong793d7a\");\n          selectedWord.classList.remove(\"selected793d7a\");\n\n          selectedWord = null;\n\n        },600);\n      }\n\n    });\n\n  });\n\n}\n\nfunction drawLine(el1, el2){\n\n  const svg = document.getElementById(\"lines793d7a\");\n  const container = document.querySelector(\".gameArea793d7a\");\n\n  const rect1 = el1.getBoundingClientRect();\n  const rect2 = el2.getBoundingClientRect();\n  const parentRect = container.getBoundingClientRect();\n\n  const x1 = rect1.right - parentRect.left;\n  const y1 = rect1.top + rect1.height\/2 - parentRect.top;\n\n  const x2 = rect2.left - parentRect.left;\n  const y2 = rect2.top + rect2.height\/2 - parentRect.top;\n\n  const line = document.createElementNS(\n    \"http:\/\/www.w3.org\/2000\/svg\",\n    \"line\"\n  );\n\n  line.setAttribute(\"x1\", x1);\n  line.setAttribute(\"y1\", y1);\n  line.setAttribute(\"x2\", x2);\n  line.setAttribute(\"y2\", y2);\n  line.setAttribute(\"class\", \"line793d7a\");\n\n  svg.appendChild(line);\n}\n\nrender();\n\n})();\n<\/script>\n","protected":false},"excerpt":{"rendered":"<p>&#x25c0; Anterior Siguiente &#x25b6; Revisar Siguiente Escucha y selecciona la palabra correcta &#x25b6; Escuchar Siguiente Relaciona cada palabra con su significado<\/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-976","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/cuentoskecuentan.com\/index.php?rest_route=\/wp\/v2\/pages\/976","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=976"}],"version-history":[{"count":7,"href":"https:\/\/cuentoskecuentan.com\/index.php?rest_route=\/wp\/v2\/pages\/976\/revisions"}],"predecessor-version":[{"id":1454,"href":"https:\/\/cuentoskecuentan.com\/index.php?rest_route=\/wp\/v2\/pages\/976\/revisions\/1454"}],"wp:attachment":[{"href":"https:\/\/cuentoskecuentan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=976"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}