{"id":321,"date":"2026-01-10T22:13:03","date_gmt":"2026-01-10T22:13:03","guid":{"rendered":"https:\/\/plentylearning.com\/espanol\/?page_id=321"},"modified":"2026-01-10T22:36:21","modified_gmt":"2026-01-10T22:36:21","slug":"module-a2-3-giving-instructions","status":"publish","type":"page","link":"https:\/\/plentylearning.com\/espanol\/module-a2-3-giving-instructions\/","title":{"rendered":"Module A2.3 \u2013 Giving Instructions"},"content":{"rendered":"\n\n\n<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n  <meta charset=\"UTF-8\"\/>\n  <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\"\/>\n  <title>Module A2.3 \u2013 Giving Instructions (Plenty Learning)<\/title>\n  <style>\n    :root{\n      --brand:#5a2ea6; \/* Replace with Plenty Learning HEX *\/\n      --bg:#0b0b10;\n      --text:#f3f3f7;\n      --muted:#c8c8d6;\n      --card: rgba(18,18,33,.9);\n      --border: rgba(255,255,255,.12);\n      --ok:#18a558;\n      --bad:#d94848;\n      --warn:#f0b429;\n    }\n    body{\n      margin:0;\n      font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;\n      background: linear-gradient(180deg, rgba(90,46,166,.12), transparent 42%), var(--bg);\n      color:var(--text);\n    }\n    .wrap{max-width: 980px; margin: 0 auto; padding: 20px;}\n    .topbar{\n      display:flex; gap:14px; align-items:center; justify-content:space-between;\n      padding:16px 18px; border:1px solid var(--border); background: rgba(18,18,33,.85);\n      border-radius:18px; backdrop-filter: blur(8px);\n    }\n    .brand{display:flex; align-items:center; gap:12px;}\n    .logo{\n      width:42px; height:42px; border-radius:12px;\n      background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.18), rgba(255,255,255,.06)), var(--brand);\n      display:grid; place-items:center; font-weight:700;\n    }\n    h1{margin:0; font-size:16px; line-height:1.2;}\n    .subtitle{margin:2px 0 0; font-size:12px; color:var(--muted);}\n    .pill{\n      font-size:12px; padding:8px 10px; border-radius:999px;\n      border:1px solid var(--border); background: rgba(255,255,255,.04);\n      color:var(--muted);\n      white-space:nowrap;\n    }\n    .grid{\n      display:grid;\n      grid-template-columns: 1fr;\n      gap:14px;\n      margin-top:14px;\n    }\n    .card{\n      border:1px solid var(--border);\n      background: var(--card);\n      border-radius:18px;\n      padding:16px;\n    }\n    .muted{color:var(--muted); font-size:13px; line-height:1.5;}\n    .note{border-left:4px solid var(--brand); padding:10px 12px; background: rgba(90,46,166,.12); border-radius:12px; margin-top:10px;}\n    .row{\n      display:flex; gap:10px; flex-wrap:wrap; align-items:center; justify-content:space-between;\n    }\n    .tabs{display:flex; gap:10px; flex-wrap:wrap;}\n    .tab{\n      padding:10px 12px; border-radius:12px;\n      border:1px solid var(--border); background: rgba(255,255,255,.04);\n      cursor:pointer; font-weight:700; font-size:13px;\n    }\n    .tab.active{background: var(--brand); border-color: rgba(255,255,255,.18);}\n    .btns{display:flex; flex-wrap:wrap; gap:10px;}\n    button{\n      border:1px solid var(--border); background: rgba(255,255,255,.06); color:var(--text);\n      padding:10px 12px; border-radius:12px; cursor:pointer; font-weight:700;\n    }\n    button.primary{background: var(--brand); border-color: rgba(255,255,255,.18);}\n    button.ghost{background: rgba(255,255,255,.03);}\n    button:active{transform: translateY(1px);}\n    .stats{\n      display:grid;\n      grid-template-columns: repeat(3, minmax(0,1fr));\n      gap:10px;\n      margin-top:10px;\n    }\n    .stat{\n      border:1px solid var(--border);\n      background: rgba(255,255,255,.03);\n      border-radius:14px;\n      padding:10px 12px;\n    }\n    .stat .k{font-size:12px; color:var(--muted);}\n    .stat .v{font-size:16px; font-weight:800; margin-top:4px;}\n    .tiny{font-size:12px; color:var(--muted);}\n\n    .q{\n      padding:12px; border:1px solid var(--border); border-radius:14px;\n      background: rgba(255,255,255,.03); margin:12px 0;\n    }\n    .qhead{\n      display:flex; gap:10px; align-items:flex-start; justify-content:space-between;\n      margin-bottom:8px;\n    }\n    .qmeta{display:flex; gap:8px; align-items:center; flex-wrap:wrap;}\n    .badge{\n      font-size:11px; color:var(--muted);\n      border:1px solid var(--border); padding:3px 8px; border-radius:999px;\n      background: rgba(255,255,255,.03);\n      white-space:nowrap;\n    }\n\n    select.answer, input[type=\"text\"], textarea{\n      width:100%; padding:10px 12px; border-radius:12px;\n      border:1px solid var(--border); background: rgba(0,0,0,.25); color:var(--text);\n      outline:none;\n      font-family: inherit;\n    }\n    textarea{min-height: 110px; resize: vertical;}\n    .feedback{margin-top:8px; font-size:13px; line-height:1.35;}\n    .ok{color: var(--ok);}\n    .bad{color: var(--bad);}\n    .warn{color: var(--warn);}\n    .rulebox{\n      display:none;\n      margin-top:10px;\n      padding:10px 12px;\n      border:1px solid var(--border);\n      border-radius:12px;\n      background: rgba(0,0,0,.22);\n    }\n    .rulebox.show{display:block;}\n    .footer{color:var(--muted); font-size:12px; text-align:center; padding:10px;}\n\n    .rubric{\n      margin-top:10px;\n      border:1px solid var(--border);\n      border-radius:14px;\n      overflow:hidden;\n    }\n    .rubric .rhead{\n      padding:10px 12px;\n      background: rgba(255,255,255,.04);\n      font-weight:800;\n    }\n    .rubric .rbody{padding:10px 12px;}\n    ul{margin:8px 0 0 20px; color: var(--muted);}\n  <\/style>\n<\/head>\n<body>\n  <div class=\"wrap\">\n    <div class=\"topbar\">\n      <div class=\"brand\">\n        <div class=\"logo\">PL<\/div>\n        <div>\n          <h1>Module A2.3 \u2013 Giving Instructions<\/h1>\n          <div class=\"subtitle\">Plenty Learning \u2013 Espa\u00f1ol | by TeacherJM<\/div>\n        <\/div>\n      <\/div>\n      <div class=\"pill\">Imperative \u2022 Connectors \u2022 Routines \u2022 Experiences \u2022 Review<\/div>\n    <\/div>\n\n    <div class=\"grid\">\n      <section class=\"card\">\n        <h2 style=\"margin:0 0 8px;\">How to use this module (English)<\/h2>\n        <div class=\"muted\">\n          This module trains you to <b>give clear instructions<\/b>, connect ideas, talk about routines and frequency,\n          and describe experiences (speaking &#038; writing).<br\/>\n          Complete the activities in Spanish. Use <b>Show rule<\/b> to preview grammar.\n        <\/div>\n\n        <div class=\"note muted\">\n          <b>Learning goals:<\/b>\n          <ul>\n            <li>Use affirmative commands (t\u00fa \/ usted \/ nosotros).<\/li>\n            <li>Link ideas with y \/ pero \/ porque \/ entonces.<\/li>\n            <li>Describe routines using frequency expressions (siempre, a veces, nunca\u2026).<\/li>\n            <li>Describe experiences with simple speaking &#038; writing prompts.<\/li>\n            <li>Finish with an A2 progress check.<\/li>\n          <\/ul>\n        <\/div>\n\n        <div class=\"row\" style=\"margin-top:10px;\">\n          <div class=\"tabs\" id=\"tabs\">\n            <div class=\"tab active\" data-tab=\"practice\">23\u201325 Practice<\/div>\n            <div class=\"tab\" data-tab=\"experiences\">26 Experiences<\/div>\n            <div class=\"tab\" data-tab=\"review\">27 Review &#038; Progress<\/div>\n          <\/div>\n        <\/div>\n      <\/section>\n\n      <!-- PRACTICE -->\n      <section class=\"card\" id=\"panel-practice\">\n        <div class=\"row\">\n          <div>\n            <h2 style=\"margin:0 0 6px;\">Practice Quiz (Random 10)<\/h2>\n            <div class=\"tiny\">Imperative \u2022 Connectors \u2022 Routines &#038; Frequency<\/div>\n          <\/div>\n          <div class=\"btns\">\n            <button class=\"primary\" onclick=\"checkQuiz()\">Check<\/button>\n            <button class=\"ghost\" onclick=\"retryIncorrect()\">Retry incorrect only<\/button>\n            <button onclick=\"newSet()\">New set<\/button>\n            <button onclick=\"resetAnswers()\">Reset<\/button>\n          <\/div>\n        <\/div>\n\n        <div class=\"stats\">\n          <div class=\"stat\">\n            <div class=\"k\">Streak<\/div>\n            <div class=\"v\" id=\"streak\">0<\/div>\n            <div class=\"tiny\">Correct answers in a row<\/div>\n          <\/div>\n          <div class=\"stat\">\n            <div class=\"k\">Best streak<\/div>\n            <div class=\"v\" id=\"bestStreak\">0<\/div>\n            <div class=\"tiny\">This session<\/div>\n          <\/div>\n          <div class=\"stat\">\n            <div class=\"k\">Average<\/div>\n            <div class=\"v\" id=\"avg\">\u2014<\/div>\n            <div class=\"tiny\"><span id=\"attempts\">0<\/span> completed attempts<\/div>\n          <\/div>\n        <\/div>\n\n        <div style=\"margin-top:10px;\">\n          <strong id=\"score\">0<\/strong> \/ <span id=\"max\">10<\/span>\n          <div class=\"tiny\" id=\"msg\">Answer all items and click \u201cCheck\u201d.<\/div>\n          <div class=\"tiny\">Bank size: <span id=\"bankSize\">0<\/span> items<\/div>\n        <\/div>\n\n        <div id=\"quiz\"><\/div>\n      <\/section>\n\n      <!-- EXPERIENCES -->\n      <section class=\"card\" id=\"panel-experiences\" style=\"display:none;\">\n        <h2 style=\"margin:0 0 8px;\">26. Describing Experiences (Speaking &#038; Writing)<\/h2>\n        <div class=\"muted\">\n          Write and speak about experiences using simple A2 language. Keep it clear and short.\n        <\/div>\n\n        <div class=\"note muted\">\n          <b>Speaking idea (English):<\/b> Record yourself (30\u201345 seconds). Use 4\u20136 sentences.\n          <br\/><b>Spanish prompts:<\/b> Use connectors (y, pero, porque, entonces) and at least 2 frequency words.\n        <\/div>\n\n        <div class=\"q\">\n          <div class=\"qhead\">\n            <div><b>Speaking prompt (Espa\u00f1ol):<\/b> Describe una experiencia reciente.<\/div>\n            <div class=\"qmeta\"><span class=\"badge\">A2 Speaking<\/span><\/div>\n          <\/div>\n          <div class=\"muted\">\n            Habla sobre una experiencia (viaje, comida nueva, una clase, un evento). Incluye:\n            <ul>\n              <li>\u00bfQu\u00e9 hiciste? \u00bfCon qui\u00e9n?<\/li>\n              <li>\u00bfPor qu\u00e9 fue importante o interesante?<\/li>\n              <li>Una frase con <b>pero<\/b> y otra con <b>porque<\/b>.<\/li>\n            <\/ul>\n          <\/div>\n          <div class=\"rubric\">\n            <div class=\"rhead\">Self-check (English)<\/div>\n            <div class=\"rbody muted\">\n              \u2705 4\u20136 sentences \u2022 \u2705 clear verbs \u2022 \u2705 connectors \u2022 \u2705 understandable pronunciation (if speaking)\n            <\/div>\n          <\/div>\n        <\/div>\n\n        <div class=\"q\">\n          <div class=\"qhead\">\n            <div><b>Writing prompt (Espa\u00f1ol):<\/b> Mi rutina y una experiencia<\/div>\n            <div class=\"qmeta\"><span class=\"badge\">A2 Writing<\/span><\/div>\n          <\/div>\n          <div class=\"muted\">\n            Escribe 8\u201310 l\u00edneas. Incluye al menos:\n            <ul>\n              <li>3 expresiones de frecuencia (siempre, a veces, normalmente, casi nunca, nunca, todos los d\u00edas\u2026).<\/li>\n              <li>2 conectores (pero, porque, entonces, y).<\/li>\n              <li>1 instrucci\u00f3n usando imperativo afirmativo (por ejemplo: \u201cToma\u2026\u201d, \u201cMira\u2026\u201d, \u201cEscribe\u2026\u201d).<\/li>\n            <\/ul>\n          <\/div>\n          <textarea id=\"writingBox\" placeholder=\"Escribe aqu\u00ed...\"><\/textarea>\n          <div class=\"tiny\" id=\"writingCount\">0 characters<\/div>\n\n          <div class=\"btns\" style=\"margin-top:10px;\">\n            <button class=\"primary\" onclick=\"checkWriting()\">Self-check writing<\/button>\n            <button class=\"ghost\" onclick=\"clearWriting()\">Clear<\/button>\n          <\/div>\n          <div id=\"writingFeedback\" class=\"feedback\"><\/div>\n        <\/div>\n      <\/section>\n\n      <!-- REVIEW -->\n      <section class=\"card\" id=\"panel-review\" style=\"display:none;\">\n        <h2 style=\"margin:0 0 8px;\">27. A2 Review &#038; Progress Check<\/h2>\n        <div class=\"muted\">\n          This mini progress check combines instructions + connectors + routines + experiences.\n          Answer honestly. Your goal is consistency and clarity.\n        <\/div>\n\n        <div class=\"q\">\n          <div class=\"qhead\">\n            <div><b>Quick knowledge check (Espa\u00f1ol)<\/b><\/div>\n            <div class=\"qmeta\"><span class=\"badge\">Auto-score<\/span><\/div>\n          <\/div>\n\n          <div class=\"muted\">Choose the best option.<\/div>\n\n          <div style=\"margin-top:10px;\">\n            <label>1) ______ la puerta, por favor. (t\u00fa)<\/label>\n            <select class=\"answer\" id=\"pc1\" data-answer=\"abre\">\n              <option value=\"\">Choose\u2026<\/option>\n              <option>abre<\/option>\n              <option>abres<\/option>\n              <option>abran<\/option>\n            <\/select>\n\n            <label style=\"margin-top:10px;\">2) No fui al cine ______ estaba cansado.<\/label>\n            <select class=\"answer\" id=\"pc2\" data-answer=\"porque\">\n              <option value=\"\">Choose\u2026<\/option>\n              <option>pero<\/option>\n              <option>porque<\/option>\n              <option>entonces<\/option>\n            <\/select>\n\n            <label style=\"margin-top:10px;\">3) Yo ______ desayuno a las 8:00. (usually)<\/label>\n            <select class=\"answer\" id=\"pc3\" data-answer=\"normalmente\">\n              <option value=\"\">Choose\u2026<\/option>\n              <option>nunca<\/option>\n              <option>normalmente<\/option>\n              <option>entonces<\/option>\n            <\/select>\n\n            <label style=\"margin-top:10px;\">4) Llegu\u00e9 tarde, ______ tom\u00e9 un taxi.<\/label>\n            <select class=\"answer\" id=\"pc4\" data-answer=\"entonces\">\n              <option value=\"\">Choose\u2026<\/option>\n              <option>porque<\/option>\n              <option>entonces<\/option>\n              <option>pero<\/option>\n            <\/select>\n          <\/div>\n\n          <div class=\"btns\" style=\"margin-top:12px;\">\n            <button class=\"primary\" onclick=\"checkProgress()\">Check progress<\/button>\n            <button class=\"ghost\" onclick=\"resetProgress()\">Reset<\/button>\n          <\/div>\n\n          <div id=\"progressFeedback\" class=\"feedback\"><\/div>\n        <\/div>\n\n        <div class=\"rubric\">\n          <div class=\"rhead\">Progress self-rating (English)<\/div>\n          <div class=\"rbody muted\">\n            Rate yourself (1\u20135):\n            <ul>\n              <li>Commands: I can give clear instructions (1\u20135).<\/li>\n              <li>Connectors: I connect ideas naturally (1\u20135).<\/li>\n              <li>Routines: I use frequency words correctly (1\u20135).<\/li>\n              <li>Experiences: I can describe a short experience (1\u20135).<\/li>\n            <\/ul>\n            Tip: repeat the module 2\u20133 times during the week and track your streak\/average.\n          <\/div>\n        <\/div>\n      <\/section>\n\n      <div class=\"footer\">\u00a9 Plenty Learning \u2013 Espa\u00f1ol | by TeacherJM<\/div>\n    <\/div>\n  <\/div>\n\n  <script>\n    \/\/ ---------- Tabs ----------\n    const tabs = document.getElementById(\"tabs\");\n    const panels = {\n      practice: document.getElementById(\"panel-practice\"),\n      experiences: document.getElementById(\"panel-experiences\"),\n      review: document.getElementById(\"panel-review\")\n    };\n\n    tabs.addEventListener(\"click\", (e) => {\n      const t = e.target.closest(\".tab\");\n      if(!t) return;\n      const key = t.getAttribute(\"data-tab\");\n      document.querySelectorAll(\".tab\").forEach(x => x.classList.remove(\"active\"));\n      t.classList.add(\"active\");\n      Object.keys(panels).forEach(k => panels[k].style.display = (k === key ? \"block\" : \"none\"));\n      window.scrollTo({top:0, behavior:\"smooth\"});\n    });\n\n    \/\/ ---------- Helpers ----------\n    function normalize(str){\n      return (str || \"\")\n        .toString()\n        .trim()\n        .toLowerCase()\n        .normalize(\"NFD\").replace(\/[\\u0300-\\u036f]\/g, \"\");\n    }\n    function shuffle(arr){\n      const a = arr.slice();\n      for(let i=a.length-1;i>0;i--){\n        const j = Math.floor(Math.random()*(i+1));\n        [a[i], a[j]] = [a[j], a[i]];\n      }\n      return a;\n    }\n\n    \/\/ ---------- Rules (Show rule) ----------\n    function ruleFor(topic){\n      const rules = {\n        \"Imperative\":\"Affirmative commands: <b>t\u00fa<\/b> uses 3rd person (habla, come, vive). Some irregulars: <b>haz, ve, di, pon, sal, ten<\/b>. <b>Usted<\/b>: hable, coma, viva. <b>Nosotros<\/b>: hablemos, comamos, vivamos.\",\n        \"Connectors\":\"Connectors: <b>y<\/b> adds info, <b>pero<\/b> contrasts, <b>porque<\/b> gives reason, <b>entonces<\/b> shows result\/next step.\",\n        \"Routines\":\"Routines: present tense + frequency words: <b>siempre, normalmente, a veces, casi nunca, nunca<\/b>. Also: <b>todos los d\u00edas, los lunes, una vez a la semana<\/b>.\"\n      };\n      return rules[topic] || \"Focus on clarity: short sentences + correct connector.\";\n    }\n\n    \/\/ ---------- Bank (A2\/A2+) ----------\n    \/\/ type: mcq or text\n    \/\/ topic: Imperative \/ Connectors \/ Routines\n    \/\/ difficulty: 1 (A2) to 3 (A2+)\n    const BANK = [\n      \/\/ --- Imperative (affirmative) ---\n      {topic:\"Imperative\", difficulty:1, type:\"mcq\", prompt:\"______ la puerta, por favor. (t\u00fa, abrir)\", options:[\"abre\",\"abres\",\"abran\"], answer:\"abre\"},\n      {topic:\"Imperative\", difficulty:1, type:\"mcq\", prompt:\"______ tu nombre aqu\u00ed. (t\u00fa, escribir)\", options:[\"escribe\",\"escribes\",\"escriba\"], answer:\"escribe\"},\n      {topic:\"Imperative\", difficulty:1, type:\"mcq\", prompt:\"______ un caf\u00e9. (t\u00fa, tomar)\", options:[\"toma\",\"tomas\",\"tome\"], answer:\"toma\"},\n      {topic:\"Imperative\", difficulty:1, type:\"text\", prompt:\"Completa (t\u00fa): ______ la verdad. (decir)\", answer:\"di\"},\n      {topic:\"Imperative\", difficulty:2, type:\"mcq\", prompt:\"______ la tarea ahora. (t\u00fa, hacer)\", options:[\"haz\",\"hace\",\"haga\"], answer:\"haz\"},\n      {topic:\"Imperative\", difficulty:2, type:\"text\", prompt:\"Completa (t\u00fa): ______ al centro. (ir)\", answer:\"ve\"},\n      {topic:\"Imperative\", difficulty:2, type:\"mcq\", prompt:\"______ despacio, por favor. (usted)\", options:[\"camine\",\"camina\",\"caminas\"], answer:\"camine\"},\n      {topic:\"Imperative\", difficulty:3, type:\"mcq\", prompt:\"______ la comida en el refrigerador. (t\u00fa, poner)\", options:[\"pon\",\"pone\",\"ponga\"], answer:\"pon\"},\n      {topic:\"Imperative\", difficulty:3, type:\"mcq\", prompt:\"______ m\u00e1s temprano ma\u00f1ana. (t\u00fa, salir)\", options:[\"sal\",\"sales\",\"salga\"], answer:\"sal\"},\n\n      \/\/ --- Connectors ---\n      {topic:\"Connectors\", difficulty:1, type:\"mcq\", prompt:\"Quiero ir, ______ estoy cansado.\", options:[\"pero\",\"porque\",\"entonces\"], answer:\"pero\"},\n      {topic:\"Connectors\", difficulty:1, type:\"mcq\", prompt:\"No salgo ______ llueve.\", options:[\"porque\",\"pero\",\"y\"], answer:\"porque\"},\n      {topic:\"Connectors\", difficulty:1, type:\"mcq\", prompt:\"Compr\u00e9 pan ______ leche.\", options:[\"y\",\"porque\",\"entonces\"], answer:\"y\"},\n      {topic:\"Connectors\", difficulty:2, type:\"mcq\", prompt:\"Perd\u00ed el bus, ______ llegu\u00e9 tarde.\", options:[\"entonces\",\"porque\",\"y\"], answer:\"entonces\"},\n      {topic:\"Connectors\", difficulty:2, type:\"text\", prompt:\"Completa: Estudio todos los d\u00edas ______ quiero mejorar.\", answer:\"porque\"},\n      {topic:\"Connectors\", difficulty:3, type:\"text\", prompt:\"Completa con contraste: Me gusta el caf\u00e9, ______ prefiero el t\u00e9.\", answer:\"pero\"},\n\n      \/\/ --- Routines & Frequency ---\n      {topic:\"Routines\", difficulty:1, type:\"mcq\", prompt:\"Yo ______ desayuno a las 8:00. (usually)\", options:[\"normalmente\",\"nunca\",\"entonces\"], answer:\"normalmente\"},\n      {topic:\"Routines\", difficulty:1, type:\"mcq\", prompt:\"Ella ______ hace ejercicio. (always)\", options:[\"siempre\",\"a veces\",\"nunca\"], answer:\"siempre\"},\n      {topic:\"Routines\", difficulty:1, type:\"mcq\", prompt:\"Nosotros ______ estudiamos los domingos. (never)\", options:[\"nunca\",\"siempre\",\"porque\"], answer:\"nunca\"},\n      {topic:\"Routines\", difficulty:2, type:\"text\", prompt:\"Completa: Yo estudio ingl\u00e9s ______. (a veces\/siempre\/nunca)\", answer:\"a veces\"},\n      {topic:\"Routines\", difficulty:2, type:\"mcq\", prompt:\"Voy al supermercado ______. (once a week)\", options:[\"una vez a la semana\",\"todos los d\u00edas\",\"nunca\"], answer:\"una vez a la semana\"},\n      {topic:\"Routines\", difficulty:3, type:\"mcq\", prompt:\"Casi no veo televisi\u00f3n: ______ veo TV.\", options:[\"casi nunca\",\"siempre\",\"entonces\"], answer:\"casi nunca\"},\n      {topic:\"Routines\", difficulty:3, type:\"text\", prompt:\"Completa: Los lunes ______ caf\u00e9 antes de trabajar. (I always)\", answer:\"siempre tomo\"}\n    ];\n\n    \/\/ ---------- State + Stats ----------\n    const QUIZ_SIZE = 10;\n    let CURRENT = [];\n    let LAST_RESULTS = [];\n\n    let streak = 0;\n    let bestStreak = 0;\n    let completedAttempts = 0;\n    let totalScores = 0;\n\n    function updateStatsUI(){\n      document.getElementById(\"streak\").textContent = streak;\n      document.getElementById(\"bestStreak\").textContent = bestStreak;\n      document.getElementById(\"attempts\").textContent = completedAttempts;\n      document.getElementById(\"avg\").textContent = completedAttempts ? (totalScores \/ completedAttempts).toFixed(1) + \"\/10\" : \"\u2014\";\n    }\n\n    \/\/ ---------- Pick set with curve (A2 \u2192 A2+) ------\n    function pickSet(excludeSet = []){\n      const excludeKey = new Set(excludeSet.map(q => q.prompt + \"|\" + q.answer));\n      const pool = BANK.filter(q => !excludeKey.has(q.prompt + \"|\" + q.answer));\n\n      const byDiff = (d) => pool.filter(q => q.difficulty === d);\n      const takeN = (arr, n) => shuffle(arr).slice(0, n);\n\n      let chosen = [];\n      \/\/ Mix: 5 A2 + 3 medium + 2 harder\n      chosen = chosen.concat(takeN(byDiff(1), 5));\n      chosen = chosen.concat(takeN(byDiff(2), 3));\n      chosen = chosen.concat(takeN(byDiff(3), 2));\n\n      if(chosen.length < QUIZ_SIZE){\n        const remaining = shuffle(pool.filter(q => !chosen.includes(q)));\n        chosen = chosen.concat(remaining.slice(0, QUIZ_SIZE - chosen.length));\n      }\n\n      \/\/ Ensure topic coverage best effort\n      const must = [\"Imperative\",\"Connectors\",\"Routines\"];\n      for(const t of must){\n        if(!chosen.some(q => q.topic === t)){\n          const candidate = shuffle(pool.filter(q => q.topic === t && !chosen.includes(q)))[0];\n          if(candidate){\n            chosen[0] = candidate; \/\/ simple replace\n          }\n        }\n      }\n\n      return shuffle(chosen).slice(0, QUIZ_SIZE);\n    }\n\n    \/\/ ---------- Render quiz ----------\n    function render(){\n      document.getElementById(\"bankSize\").textContent = BANK.length;\n\n      const quiz = document.getElementById(\"quiz\");\n      quiz.innerHTML = \"\";\n      LAST_RESULTS = new Array(CURRENT.length).fill(false);\n\n      CURRENT.forEach((q, idx) => {\n        const div = document.createElement(\"div\");\n        div.className = \"q\";\n        div.innerHTML = `\n          <div class=\"qhead\">\n            <div><b>${idx+1})<\/b> ${q.prompt}<\/div>\n            <div class=\"qmeta\">\n              <span class=\"badge\">${q.topic}<\/span>\n              <span class=\"badge\">${q.difficulty === 1 ? \"A2\" : \"A2+\"}<\/span>\n              <button class=\"ghost\" type=\"button\" data-rule-btn=\"${idx}\">Show rule<\/button>\n            <\/div>\n          <\/div>\n\n          <div class=\"inputArea\"><\/div>\n\n          <div class=\"rulebox\" id=\"rule-${idx}\">\n            <div class=\"tiny\"><b>Rule (English):<\/b> ${ruleFor(q.topic)}<\/div>\n          <\/div>\n\n          <div class=\"feedback\" id=\"fb-${idx}\"><\/div>\n        `;\n\n        const inputArea = div.querySelector(\".inputArea\");\n        if(q.type === \"mcq\"){\n          const sel = document.createElement(\"select\");\n          sel.className = \"answer\";\n          sel.setAttribute(\"data-answer\", q.answer);\n          sel.setAttribute(\"data-kind\", \"mcq\");\n          sel.setAttribute(\"data-index\", idx);\n          sel.innerHTML = `<option value=\"\">Choose\u2026<\/option>` + q.options.map(o => `<option>${o}<\/option>`).join(\"\");\n          inputArea.appendChild(sel);\n        } else {\n          const inp = document.createElement(\"input\");\n          inp.type = \"text\";\n          inp.placeholder = \"Type your answer\u2026\";\n          inp.setAttribute(\"data-answer\", q.answer);\n          inp.setAttribute(\"data-kind\", \"text\");\n          inp.setAttribute(\"data-index\", idx);\n          inputArea.appendChild(inp);\n        }\n\n        quiz.appendChild(div);\n      });\n\n      document.querySelectorAll(\"[data-rule-btn]\").forEach(btn => {\n        btn.addEventListener(\"click\", () => {\n          const idx = btn.getAttribute(\"data-rule-btn\");\n          const box = document.getElementById(`rule-${idx}`);\n          const showing = box.classList.contains(\"show\");\n          box.classList.toggle(\"show\", !showing);\n          btn.textContent = showing ? \"Show rule\" : \"Hide rule\";\n        });\n      });\n\n      document.getElementById(\"max\").textContent = CURRENT.length;\n      document.getElementById(\"score\").textContent = \"0\";\n      document.getElementById(\"msg\").textContent = \"Answer all items and click \u201cCheck\u201d.\";\n      updateStatsUI();\n    }\n\n    function newSet(){\n      CURRENT = pickSet();\n      render();\n      window.scrollTo({top:0, behavior:\"smooth\"});\n    }\n\n    \/\/ ---------- Check ----------\n    function checkQuiz(){\n      const inputs = Array.from(document.querySelectorAll(\"#quiz [data-answer]\"));\n      let score = 0;\n      let answered = 0;\n\n      let localStreak = streak;\n\n      inputs.forEach((el) => {\n        const idx = parseInt(el.getAttribute(\"data-index\"), 10);\n        const answer = el.getAttribute(\"data-answer\");\n        const kind = el.getAttribute(\"data-kind\");\n        const qObj = CURRENT[idx];\n        const fb = document.getElementById(`fb-${idx}`);\n\n        const val = (kind === \"mcq\") ? el.value : el.value;\n        const hasVal = val && val.trim() !== \"\";\n        if(hasVal) answered++;\n\n        const ok = hasVal && (normalize(val) === normalize(answer));\n        LAST_RESULTS[idx] = ok;\n\n        if(!hasVal){\n          fb.className = \"feedback warn\";\n          fb.textContent = \"Incomplete: choose\/type an answer.\";\n          localStreak = 0;\n        } else if(ok){\n          fb.className = \"feedback ok\";\n          fb.textContent = \"Correct \u2705\";\n          score++;\n          localStreak++;\n          if(localStreak > bestStreak) bestStreak = localStreak;\n        } else {\n          fb.className = \"feedback bad\";\n          localStreak = 0;\n\n          const exp =\n            qObj.topic === \"Imperative\" ? \"Affirmative t\u00fa commands often match 3rd person: habla\/come\/vive. Remember irregulars: haz, ve, di, pon, sal, ten.\" :\n            qObj.topic === \"Connectors\" ? \"Choose the connector by meaning: y(add), pero(contrast), porque(reason), entonces(result).\" :\n            \"Use present tense + frequency words (siempre, normalmente, a veces, casi nunca, nunca\u2026).\";\n\n          fb.innerHTML = `Not correct \u274c \u2014 Suggested answer: <b>\u201c${answer}\u201d<\/b>.<br\/><span class=\"tiny\">${exp}<\/span>`;\n        }\n      });\n\n      streak = localStreak;\n\n      document.getElementById(\"score\").textContent = score;\n\n      const max = inputs.length || QUIZ_SIZE;\n      const pct = max ? (score \/ max) : 0;\n      const msg = document.getElementById(\"msg\");\n\n      \/\/ Average updates only on completed attempts\n      if(answered === max){\n        completedAttempts++;\n        totalScores += score;\n      }\n      updateStatsUI();\n\n      if(answered < max){\n        msg.textContent = `You answered ${answered}\/${max}. Complete all items for a full score (average updates only on completed attempts).`;\n      } else if(pct >= 0.85){\n        msg.textContent = \"Excellent \u2705 Now go to \u2018Experiences\u2019 and complete speaking\/writing.\";\n      } else if(pct >= 0.60){\n        msg.textContent = \"Good \ud83d\udc4d Review rules, then retry incorrect only.\";\n      } else {\n        msg.textContent = \"Keep practicing \ud83d\udd01 Retry incorrect only and focus on patterns.\";\n      }\n\n      document.getElementById(\"scoreCard\").scrollIntoView({behavior:\"smooth\", block:\"start\"});\n    }\n\n    \/\/ ---------- Retry incorrect only ----------\n    function retryIncorrect(){\n      if(!LAST_RESULTS || LAST_RESULTS.length === 0){\n        document.getElementById(\"msg\").textContent = \"First, click \u201cCheck\u201d to identify incorrect items.\";\n        return;\n      }\n      const incorrect = CURRENT.filter((q, i) => LAST_RESULTS[i] === false);\n      if(incorrect.length === 0){\n        document.getElementById(\"msg\").textContent = \"All correct \u2705 Click \u201cNew set\u201d for fresh practice.\";\n        return;\n      }\n      const fillCount = QUIZ_SIZE - incorrect.length;\n      const newOnes = pickSet(incorrect).slice(0, fillCount);\n      CURRENT = shuffle(incorrect.concat(newOnes)).slice(0, QUIZ_SIZE);\n      render();\n      document.getElementById(\"msg\").textContent = \"Retry mode: incorrect items kept + new items added to complete 10.\";\n      document.getElementById(\"scoreCard\").scrollIntoView({behavior:\"smooth\", block:\"start\"});\n    }\n\n    function resetAnswers(){\n      document.querySelectorAll(\"#quiz select.answer\").forEach(s => s.value = \"\");\n      document.querySelectorAll('#quiz input[type=\"text\"]').forEach(i => i.value = \"\");\n      document.querySelectorAll(\"#quiz .feedback\").forEach(fb => { fb.textContent=\"\"; fb.className=\"feedback\"; });\n      document.getElementById(\"score\").textContent = \"0\";\n      document.getElementById(\"msg\").textContent = \"Reset done. Answer again and click \u201cCheck\u201d.\";\n      LAST_RESULTS = new Array(CURRENT.length).fill(false);\n    }\n\n    \/\/ ---------- Writing self-check ----------\n    const writingBox = document.getElementById(\"writingBox\");\n    const writingCount = document.getElementById(\"writingCount\");\n    const writingFeedback = document.getElementById(\"writingFeedback\");\n\n    if(writingBox){\n      writingBox.addEventListener(\"input\", () => {\n        writingCount.textContent = `${writingBox.value.length} characters`;\n      });\n    }\n\n    function checkWriting(){\n      const t = writingBox.value || \"\";\n      const n = normalize(t);\n\n      const hasPero = n.includes(\" pero \");\n      const hasPorque = n.includes(\" porque \");\n      const hasEntonces = n.includes(\" entonces \");\n      const hasY = n.includes(\" y \");\n\n      const freq = [\"siempre\",\"normalmente\",\"a veces\",\"casi nunca\",\"nunca\",\"todos los dias\",\"todas las semanas\",\"una vez a la semana\",\"los lunes\",\"cada dia\"];\n      const freqCount = freq.filter(w => n.includes(w)).length;\n\n      \/\/ basic imperative detection (very simple)\n      const imperatives = [\"abre\",\"cierra\",\"mira\",\"escucha\",\"toma\",\"haz\",\"ve\",\"di\",\"pon\",\"sal\",\"ten\",\"escribe\",\"camina\"];\n      const hasImp = imperatives.some(w => n.includes(\" \" + w + \" \") || n.startsWith(w + \" \"));\n\n      let score = 0;\n      const needs = [];\n\n      if(t.trim().length >= 60){ score++; } else needs.push(\"Write a bit more (aim for 8\u201310 lines).\");\n      if(freqCount >= 2){ score++; } else needs.push(\"Add at least 2 frequency expressions (siempre, a veces, nunca...).\");\n      if((hasPero || hasPorque || hasEntonces || hasY) && ( [hasPero,hasPorque,hasEntonces,hasY].filter(Boolean).length >= 2 )){ score++; } else needs.push(\"Use at least 2 connectors (y, pero, porque, entonces).\");\n      if(hasImp){ score++; } else needs.push(\"Add 1 affirmative command (e.g., \u2018Mira\u2026\u2019, \u2018Escribe\u2026\u2019, \u2018Haz\u2026\u2019).\");\n\n      if(score === 4){\n        writingFeedback.className = \"feedback ok\";\n        writingFeedback.innerHTML = `Great \u2705 Your writing includes key elements for A2.3.<br\/><span class=\"tiny\">Tip: check verb forms and accent marks when possible.<\/span>`;\n      } else {\n        writingFeedback.className = \"feedback warn\";\n        writingFeedback.innerHTML = `Almost there \u26a0\ufe0f Self-check score: <b>${score}\/4<\/b><br\/><ul>${needs.map(x=>`<li>${x}<\/li>`).join(\"\")}<\/ul>`;\n      }\n    }\n\n    function clearWriting(){\n      writingBox.value = \"\";\n      writingCount.textContent = \"0 characters\";\n      writingFeedback.textContent = \"\";\n      writingFeedback.className = \"feedback\";\n    }\n\n    \/\/ ---------- Progress Check ----------\n    function checkProgress(){\n      const items = [\n        document.getElementById(\"pc1\"),\n        document.getElementById(\"pc2\"),\n        document.getElementById(\"pc3\"),\n        document.getElementById(\"pc4\")\n      ];\n      let score = 0, answered = 0;\n\n      items.forEach(el => {\n        const a = el.getAttribute(\"data-answer\");\n        const v = el.value;\n        if(v) answered++;\n        if(normalize(v) === normalize(a)) score++;\n      });\n\n      const fb = document.getElementById(\"progressFeedback\");\n      if(answered < items.length){\n        fb.className = \"feedback warn\";\n        fb.textContent = `Answer all items first (${answered}\/${items.length}).`;\n        return;\n      }\n\n      if(score === 4){\n        fb.className = \"feedback ok\";\n        fb.innerHTML = `Progress: <b>${score}\/4<\/b> \u2705 Strong A2 control for instructions + connectors + routines.`;\n      } else if(score >= 2){\n        fb.className = \"feedback warn\";\n        fb.innerHTML = `Progress: <b>${score}\/4<\/b> \ud83d\udc4d Review mistakes and repeat Practice Quiz once more.`;\n      } else {\n        fb.className = \"feedback bad\";\n        fb.innerHTML = `Progress: <b>${score}\/4<\/b> \u274c Repeat the Practice Quiz and use \u201cShow rule\u201d more often.`;\n      }\n    }\n\n    function resetProgress(){\n      [\"pc1\",\"pc2\",\"pc3\",\"pc4\"].forEach(id => document.getElementById(id).value = \"\");\n      const fb = document.getElementById(\"progressFeedback\");\n      fb.textContent = \"\";\n      fb.className = \"feedback\";\n    }\n\n    \/\/ Init\n    newSet();\n  <\/script>\n<\/body>\n<\/html>\n\n","protected":false},"excerpt":{"rendered":"<p>Module A2.3 \u2013 Giving Instructions (Plenty Learning) PL Module A2.3 \u2013 Giving Instructions Plenty Learning \u2013 Espa\u00f1ol | by TeacherJM Imperative \u2022 Connectors \u2022 Routines \u2022 Experiences \u2022 Review How [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"pagelayer_contact_templates":[],"_pagelayer_content":"","footnotes":""},"class_list":["post-321","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/plentylearning.com\/espanol\/wp-json\/wp\/v2\/pages\/321","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/plentylearning.com\/espanol\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/plentylearning.com\/espanol\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/plentylearning.com\/espanol\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/plentylearning.com\/espanol\/wp-json\/wp\/v2\/comments?post=321"}],"version-history":[{"count":4,"href":"https:\/\/plentylearning.com\/espanol\/wp-json\/wp\/v2\/pages\/321\/revisions"}],"predecessor-version":[{"id":326,"href":"https:\/\/plentylearning.com\/espanol\/wp-json\/wp\/v2\/pages\/321\/revisions\/326"}],"wp:attachment":[{"href":"https:\/\/plentylearning.com\/espanol\/wp-json\/wp\/v2\/media?parent=321"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}