{"id":951,"date":"2026-02-13T18:13:39","date_gmt":"2026-02-13T18:13:39","guid":{"rendered":"https:\/\/cuentoskecuentan.com\/?page_id=951"},"modified":"2026-05-25T19:34:24","modified_gmt":"2026-05-25T19:34:24","slug":"1029-2","status":"publish","type":"page","link":"https:\/\/cuentoskecuentan.com\/?page_id=951","title":{"rendered":"1029"},"content":{"rendered":"\n<iframe loading=\"lazy\" src=\"https:\/\/drive.google.com\/file\/d\/13jf9UHwE_rT__9ukHmkcPuNd0NWQ7wBp\/preview\" width=\"640\" height=\"480\"><\/iframe>\n\n\n\n<div class=\"vocabBoxLeft793d7a\">\n  <div class=\"vocabCardLeft793d7a\">\n\n    <div class=\"emojiWrapLeft793d7a\">\n      <div class=\"emojiLeft793d7a\" id=\"emojiLeft793d7a\"><\/div>\n    <\/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:3px solid #793d7a;\n  border-radius:22px;\n  padding:20px;\n  background:linear-gradient(180deg,#fff,#f8f1fa);\n  text-align:center;\n  box-shadow:0 6px 18px rgba(121,61,122,.18);\n}\n\n.emojiWrapLeft793d7a{\n  height:90px;\n  display:flex;\n  align-items:center;\n  justify-content:center;\n  margin-bottom:10px;\n}\n\n.emojiLeft793d7a{\n  font-size:64px;\n  animation:floatLeft793d7a 2s ease-in-out infinite;\n}\n\n@keyframes floatLeft793d7a{\n  0%{transform:translateY(0px);}\n  50%{transform:translateY(-4px);}\n  100%{transform:translateY(0px);}\n}\n\n.wordLeft793d7a{\n  font-size:30px;\n  font-weight:bold;\n  color:#793d7a;\n  margin-bottom:12px;\n  line-height:1.2;\n  word-break:break-word;\n}\n\n.meaningLeft793d7a{\n  font-size:20px;\n  color:#444;\n  margin-bottom:20px;\n  background:#fff;\n  border-radius:14px;\n  padding:10px;\n}\n\n.navLeft793d7a{\n  display:flex;\n  gap:10px;\n}\n\n.navLeft793d7a button{\n  flex:1;\n  background:#793d7a;\n  color:#fff;\n  border:none;\n  padding:10px;\n  border-radius:12px;\n  font-size:15px;\n  font-weight:bold;\n  cursor:pointer;\n  transition:.2s;\n}\n\n.navLeft793d7a button:hover{\n  transform:scale(1.05);\n  background:#925394;\n}\n<\/style>\n\n<script>\n(function(){\n\n  var vocabLeft793d7a = [\n    {w:\"also\", m:\"tambi\u00e9n\", e:\"&#x1f91d;\"},\n    {w:\"almost\", m:\"casi\", e:\"&#x1f90f;\"},\n    {w:\"always\", m:\"siempre\", e:\"&#x267e;&#xfe0f;\"},\n    {w:\"almond\", m:\"almendra\", e:\"&#x1f95c;\"},\n    {w:\"farm\", m:\"granja\", e:\"&#x1f69c;\"},\n    {w:\"harm\", m:\"da\u00f1o\", e:\"&#x1f4a5;\"},\n    {w:\"harmful\", m:\"da\u00f1ino\", e:\"&#x2620;&#xfe0f;\"},\n    {w:\"harmless\", m:\"inofensivo\", e:\"&#x1f607;\"},\n    {w:\"start\", m:\"comenzar\", e:\"&#x1f6a6;\"},\n    {w:\"garden\", m:\"jard\u00edn\", e:\"&#x1f337;\"},\n    {w:\"market\", m:\"mercado\", e:\"&#x1f6d2;\"},\n    {w:\"saw\", m:\"vio \/ sierra\", e:\"&#x1fa9a;\"},\n    {w:\"law\", m:\"ley\", e:\"&#x2696;&#xfe0f;\"},\n    {w:\"tall\", m:\"alto\", e:\"&#x1f992;\"},\n    {w:\"small\", m:\"peque\u00f1o\", e:\"&#x1f42d;\"},\n    {w:\"talk\", m:\"hablar\", e:\"&#x1f5e3;&#xfe0f;\"},\n    {w:\"walk\", m:\"caminar\", e:\"&#x1f6b6;\"},\n    {w:\"warn\", m:\"advertir\", e:\"&#x26a0;&#xfe0f;\"},\n    {w:\"warm\", m:\"c\u00e1lido\", e:\"&#x2600;&#xfe0f;\"},\n    {w:\"bite\", m:\"morder\", e:\"&#x1f9b7;\"},\n    {w:\"line\", m:\"l\u00ednea\", e:\"&#x1f4cf;\"},\n    {w:\"ripe\", m:\"maduro\", e:\"&#x1f34c;\"},\n    {w:\"size\", m:\"tama\u00f1o\", e:\"&#x1f4e6;\"},\n    {w:\"slide\", m:\"deslizar\", e:\"&#x1f6dd;\"},\n    {w:\"smile\", m:\"sonre\u00edr\", e:\"&#x1f60a;\"},\n    {w:\"while\", m:\"mientras\", e:\"&#x23f3;\"},\n    {w:\"died\", m:\"muri\u00f3\", e:\"&#x1f54a;&#xfe0f;\"},\n    {w:\"iris\", m:\"iris\", e:\"&#x1f338;\"},\n    {w:\"reptile\", m:\"reptil\", e:\"&#x1f98e;\"},\n    {w:\"high\", m:\"alto\", e:\"&#x26f0;&#xfe0f;\"},\n    {w:\"highway\", m:\"autopista\", e:\"&#x1f6e3;&#xfe0f;\"},\n    {w:\"right\", m:\"correcto \/ derecha\", e:\"&#x1f449;\"},\n    {w:\"light\", m:\"luz\", e:\"&#x1f4a1;\"},\n    {w:\"night\", m:\"noche\", e:\"&#x1f319;\"},\n    {w:\"might\", m:\"podr\u00eda\", e:\"&#x1f4ad;\"},\n    {w:\"sight\", m:\"vista\", e:\"&#x1f440;\"},\n    {w:\"tight\", m:\"apretado\", e:\"&#x1faa2;\"},\n    {w:\"bright\", m:\"brillante\", e:\"&#x2728;\"},\n    {w:\"heart\", m:\"coraz\u00f3n\", e:\"&#x2764;&#xfe0f;\"},\n    {w:\"Saviour\", m:\"Salvador\", e:\"&#x271d;&#xfe0f;\"}\n  ];\n\n  var posLeft793d7a = 0;\n\n  function renderLeft793d7a(){\n\n    document.getElementById(\"emojiLeft793d7a\").innerHTML =\n      vocabLeft793d7a[posLeft793d7a].e;\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    posLeft793d7a++;\n    if(posLeft793d7a >= vocabLeft793d7a.length){\n      posLeft793d7a = 0;\n    }\n    renderLeft793d7a();\n  };\n\n  window.prevLeft793d7a = function(){\n    posLeft793d7a--;\n    if(posLeft793d7a < 0){\n      posLeft793d7a = vocabLeft793d7a.length - 1;\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:\"also\", m:\"tambi\u00e9n\"},\n    {w:\"almost\", m:\"casi\"},\n    {w:\"always\", m:\"siempre\"},\n    {w:\"almond\", m:\"almendra\"},\n    {w:\"farm\", m:\"granja\"},\n    {w:\"harm\", m:\"da\u00f1o\"},\n    {w:\"harmful\", m:\"da\u00f1ino\"},\n    {w:\"harmless\", m:\"inofensivo\"},\n    {w:\"start\", m:\"comenzar\"},\n    {w:\"garden\", m:\"jard\u00edn\"},\n    {w:\"market\", m:\"mercado\"},\n    {w:\"saw\", m:\"vio \/ sierra\"},\n    {w:\"law\", m:\"ley\"},\n    {w:\"tall\", m:\"alto\"},\n    {w:\"small\", m:\"peque\u00f1o\"},\n    {w:\"talk\", m:\"hablar\"},\n    {w:\"walk\", m:\"caminar\"},\n    {w:\"warn\", m:\"advertir\"},\n    {w:\"warm\", m:\"c\u00e1lido\"},\n    {w:\"bite\", m:\"morder\"},\n    {w:\"line\", m:\"l\u00ednea\"},\n    {w:\"ripe\", m:\"maduro\"},\n    {w:\"size\", m:\"tama\u00f1o\"},\n    {w:\"slide\", m:\"deslizar\"},\n    {w:\"smile\", m:\"sonre\u00edr\"},\n    {w:\"while\", m:\"mientras\"},\n    {w:\"died\", m:\"muri\u00f3\"},\n    {w:\"iris\", m:\"iris\"},\n    {w:\"reptile\", m:\"reptil\"},\n    {w:\"high\", m:\"alto\"},\n    {w:\"highway\", m:\"autopista\"},\n    {w:\"right\", m:\"correcto \/ derecha\"},\n    {w:\"light\", m:\"luz\"},\n    {w:\"night\", m:\"noche\"},\n    {w:\"might\", m:\"podr\u00eda\"},\n    {w:\"sight\", m:\"vista\"},\n    {w:\"tight\", m:\"apretado\"},\n    {w:\"bright\", m:\"brillante\"},\n    {w:\"heart\", m:\"coraz\u00f3n\"},\n    {w:\"Saviour\", m:\"Salvador\"}\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:3px solid #793d7a;\n  border-radius:20px;\n  padding:22px;\n  background:linear-gradient(180deg,#fff,#f8f1fa);\n  text-align:left;\n  box-shadow:0 6px 18px rgba(121,61,122,.15);\n}\n\n.listenCard793d7a h3{\n  color:#793d7a;\n  margin-bottom:18px;\n  text-align:center;\n}\n\n.playBtn793d7a,\n.nextBtn793d7a{\n  background:#793d7a;\n  color:white;\n  border:none;\n  border-radius:12px;\n  padding:10px 18px;\n  font-size:16px;\n  cursor:pointer;\n  margin:8px 8px 8px 0;\n  transition:.2s;\n  font-weight:bold;\n}\n\n.playBtn793d7a:hover,\n.nextBtn793d7a:hover{\n  transform:scale(1.05);\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:12px;\n  padding:14px;\n  cursor:pointer;\n  background:#faf5fb;\n  font-size:20px;\n  transition:.2s;\n  text-align:center;\n  font-weight:bold;\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:20px;\n  font-weight:bold;\n  color:#793d7a;\n  text-align:center;\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\n\"also\",\n\"almost\",\n\"always\",\n\"almond\",\n\"farm\",\n\"harm\",\n\"harmful\",\n\"harmless\",\n\"start\",\n\"garden\",\n\"market\",\n\"saw\",\n\"law\",\n\"tall\",\n\"small\",\n\"talk\",\n\"walk\",\n\"warn\",\n\"warm\",\n\"bite\",\n\"line\",\n\"ripe\",\n\"size\",\n\"slide\",\n\"smile\",\n\"while\",\n\"died\",\n\"iris\",\n\"reptile\",\n\"high\",\n\"highway\",\n\"right\",\n\"light\",\n\"night\",\n\"might\",\n\"sight\",\n\"tight\",\n\"bright\",\n\"heart\",\n\"Saviour\"\n\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      \"&#x1f389; \u00a1Correcto!\";\n\n  } else {\n\n    el.classList.add(\"wrong793d7a\");\n\n    document.getElementById(\"feedback793d7a\").innerHTML =\n      \"&#x274c; 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\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:900px;\n  margin:20px 0;\n}\n\n.matchCard793d7a{\n  border:3px solid #793d7a;\n  border-radius:20px;\n  padding:22px;\n  background:linear-gradient(180deg,#fff,#f8f1fa);\n  font-family:Arial;\n  position:relative;\n  box-shadow:0 6px 18px rgba(121,61,122,.15);\n}\n\n.matchCard793d7a h3{\n  color:#793d7a;\n  margin-bottom:22px;\n  text-align:center;\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:16px;\n  padding:14px;\n  margin:12px 0;\n  font-size:18px;\n  cursor:pointer;\n  transition:.2s;\n  user-select:none;\n  font-weight:bold;\n}\n\n.item793d7a:hover{\n  transform:scale(1.03);\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:20px;\n  color:#793d7a;\n  font-weight:bold;\n  text-align:center;\n}\n\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:4;\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\n{w:\"also\", m:\"tambi\u00e9n\"},\n{w:\"almost\", m:\"casi\"},\n{w:\"always\", m:\"siempre\"},\n{w:\"almond\", m:\"almendra\"},\n{w:\"farm\", m:\"granja\"},\n{w:\"harm\", m:\"da\u00f1o\"},\n{w:\"harmful\", m:\"da\u00f1ino\"},\n{w:\"harmless\", m:\"inofensivo\"},\n{w:\"start\", m:\"comenzar\"},\n{w:\"garden\", m:\"jard\u00edn\"},\n{w:\"market\", m:\"mercado\"},\n{w:\"saw\", m:\"vio \/ sierra\"},\n{w:\"law\", m:\"ley\"},\n{w:\"tall\", m:\"alto\"},\n{w:\"small\", m:\"peque\u00f1o\"},\n{w:\"talk\", m:\"hablar\"},\n{w:\"walk\", m:\"caminar\"},\n{w:\"warn\", m:\"advertir\"},\n{w:\"warm\", m:\"c\u00e1lido\"},\n{w:\"bite\", m:\"morder\"},\n{w:\"line\", m:\"l\u00ednea\"},\n{w:\"ripe\", m:\"maduro\"},\n{w:\"size\", m:\"tama\u00f1o\"},\n{w:\"slide\", m:\"deslizar\"},\n{w:\"smile\", m:\"sonre\u00edr\"},\n{w:\"while\", m:\"mientras\"},\n{w:\"died\", m:\"muri\u00f3\"},\n{w:\"iris\", m:\"iris\"},\n{w:\"reptile\", m:\"reptil\"},\n{w:\"high\", m:\"alto\"},\n{w:\"highway\", m:\"autopista\"},\n{w:\"right\", m:\"correcto \/ derecha\"},\n{w:\"light\", m:\"luz\"},\n{w:\"night\", m:\"noche\"},\n{w:\"might\", m:\"podr\u00eda\"},\n{w:\"sight\", m:\"vista\"},\n{w:\"tight\", m:\"apretado\"},\n{w:\"bright\", m:\"brillante\"},\n{w:\"heart\", m:\"coraz\u00f3n\"},\n{w:\"Saviour\", m:\"Salvador\"}\n\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          \"&#x1f389; \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-951","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/cuentoskecuentan.com\/index.php?rest_route=\/wp\/v2\/pages\/951","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=951"}],"version-history":[{"count":5,"href":"https:\/\/cuentoskecuentan.com\/index.php?rest_route=\/wp\/v2\/pages\/951\/revisions"}],"predecessor-version":[{"id":1512,"href":"https:\/\/cuentoskecuentan.com\/index.php?rest_route=\/wp\/v2\/pages\/951\/revisions\/1512"}],"wp:attachment":[{"href":"https:\/\/cuentoskecuentan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=951"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}