From the work sample to the next session
HTML for this example
Select the code and use your copy shortcut. Changes in this preview are temporary.
<!doctype html>
<html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>From the work sample to the next session</title>
<style>
:root{color-scheme:light;--ink:#1e2f3c;--accent:#214f77;--wash:#e9f0f5;--paper:#fff;--line:#b7c8d2}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;background:var(--wash);color:var(--ink);font:16px/1.6 system-ui,-apple-system,"Segoe UI",sans-serif;padding:24px 16px}main{max-width:960px;margin:auto;background:var(--paper);border:1px solid var(--line);border-top:7px solid var(--accent);box-shadow:0 12px 32px #1624320d}header{padding:26px 30px 20px;border-bottom:1px solid var(--line)}.kicker{font-weight:750;letter-spacing:.06em;color:var(--accent);margin:0 0 6px}h1{font-size:clamp(26px,5vw,38px);line-height:1.15;margin:0 0 12px;letter-spacing:-.025em}h2{font-size:22px;line-height:1.3;margin:0 0 16px}h3{font-size:18px;margin:0 0 10px}p{margin:0 0 14px}p:last-child{margin-bottom:0}.content{padding:26px 30px}.panel{padding:22px 0;border-bottom:1px solid var(--line)}.panel:first-child{padding-top:0}.panel:last-child{border-bottom:0}.cols{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px}.controls{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:14px 0}.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}label{display:block;font-weight:650;margin:10px 0}input,textarea{display:block;font:inherit;width:100%;min-width:0;background:#fff;color:var(--ink);padding:11px 12px;border:1px solid #7f94a5;border-radius:5px;margin-top:6px}textarea{resize:vertical}button{font:inherit;font-weight:700;border:2px solid var(--accent);border-radius:5px;color:var(--accent);background:var(--paper);padding:10px 16px;min-height:46px;cursor:pointer}button:hover,button[aria-pressed="true"]{background:var(--accent);color:#fff}button:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #c77700;outline-offset:3px}.result{padding:16px 18px;border-left:5px solid var(--accent);background:var(--wash);margin:16px 0;white-space:pre-line}.metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:16px 0}.metric{border-top:4px solid var(--accent);padding:12px;background:var(--wash)}.big{font-size:28px;font-weight:780;display:block;line-height:1.2;font-variant-numeric:tabular-nums}.rows{display:grid;gap:12px}.record{border:1px solid var(--line);padding:16px;border-radius:4px}.record h3{color:var(--accent)}.muted{color:#445867}.tag{display:inline-block;padding:3px 10px;background:var(--wash);border:1px solid var(--line);border-radius:30px}.route{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.chip{display:inline-block;border:2px solid var(--accent);border-radius:10px;padding:9px 14px;background:white;font-weight:750}.prime{background:#dff0df}.diagram{padding:20px;background:var(--wash);border:1px solid var(--line);margin:16px 0}summary{cursor:pointer;font-weight:700;padding:12px 0}details{border-top:1px dashed var(--line);margin-top:14px}.board{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;margin:16px 0}.cell{font-size:16px;text-align:center;background:var(--wash);padding:6px 0;border:1px solid var(--line)}.cell.hit{background:var(--accent);color:white;font-weight:750}.staff{width:100%;height:auto;display:block;background:white}.staff text{font:18px system-ui;fill:var(--ink)}.shape-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.shape-row button{padding:12px}.shape{display:block;margin:6px auto;background:var(--accent);height:62px;width:62px}.circle{border-radius:50%}.triangle{background:transparent;width:0;height:0;border-left:34px solid transparent;border-right:34px solid transparent;border-bottom:62px solid var(--accent)}.tray{border:2px solid var(--accent);padding:14px;margin:12px 0;border-radius:8px}.counters{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.counter{border:1px solid var(--accent);border-radius:50%;width:46px;height:46px;display:inline-flex;align-items:center;justify-content:center;background:var(--wash);font-size:16px}.agenda{display:grid;grid-template-columns:1fr;gap:12px}.agenda p{border-left:4px solid var(--accent);padding:8px 14px;margin:0}.bar-row{margin:16px 0}.bar{height:24px;max-width:100%;background:var(--accent);border-radius:3px}.missing{padding:10px;border:2px dashed var(--accent)}.timeline-row{margin:16px 0}.track{position:relative;height:34px;background:var(--wash);border:1px solid var(--line);overflow:hidden}.segment{position:absolute;top:3px;height:26px;background:var(--accent)}.quote{font:26px/1.45 Georgia,serif;border-left:5px solid var(--accent);padding:18px;margin:18px 0;background:var(--wash)}.facts{padding:16px;background:var(--wash);border-top:4px solid var(--accent)}pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:16px;font-family:ui-monospace,monospace;background:var(--wash);padding:16px}footer{padding:20px 30px;background:var(--wash);border-top:1px solid var(--line)}section,div,p,label,li{overflow-wrap:anywhere}ul,ol{padding-left:24px}.lesson{--accent:#4b3c79;--wash:#f0edf7}.meter{--accent:#176166;--wash:#e8f3f1}.meter header{background:#153f47;color:white}.meter .kicker{color:#ceebe5}.index{--accent:#3e566c;--wash:#edf1f5}.index .record{border-left:6px solid var(--accent)}.calendar{--accent:#824b25;--wash:#f6efe6}.montessori{--accent:#486047;--wash:#f1f1e5;--paper:#fffef7}.montessori h1,.montessori h2{font-family:Georgia,serif}.music{--accent:#343d75;--wash:#eef0f8}.music h1{font-family:Georgia,serif}.quotation{--accent:#204d79;--wash:#eaf0f7}.station{--accent:#6e522e;--wash:#f5efdf}.dice{--accent:#63398c;--wash:#f3edf9}.groups{--accent:#09685d;--wash:#e6f4ee}.wizard{--accent:#5b4595;--wash:#f1eef8}.wizard main{max-width:720px}.review{--accent:#7d3e4e;--wash:#f8edf0}.review h1{font-family:Georgia,serif}.factor{--accent:#286348;--wash:#e9f4ec}.service{--accent:#875118;--wash:#fcf0de}.statistics{--accent:#325891;--wash:#edf2fa}.hyperbole{--accent:#9a4928;--wash:#fbefe6}.hyperbole h1{font-family:Georgia,serif}@media(max-width:640px){body{padding:10px 8px}header,.content,footer{padding:20px}.cols{grid-template-columns:1fr;gap:16px}.metrics{grid-template-columns:1fr}.fields{grid-template-columns:1fr}.shape-row{gap:8px}.shape-row button{padding:8px}.shape{width:48px;height:48px}.shape.triangle{width:0;height:0;border-left-width:25px;border-right-width:25px;border-bottom-width:48px}.big{font-size:26px}.cell{padding:7px 0}.controls button{flex:1 1 auto}.quote{font-size:24px}}
input[type="radio"]{display:inline-block;width:auto;margin-right:8px}
</style></head><body class="lesson"><main><header><p class="kicker">TUTOR SESSION / 25 MINUTES</p><h1>From the work sample to the next session</h1><p>Fictional W01: “The team packed the box. They carried it outside.” Recorded answer for “it”: team. The reason is unknown.</p></header><div class="content"><div class="result" id="next-result" aria-live="polite">Exit evidence not entered. Next-session objective unresolved.</div><section class="panel "><h2>A 25-minute sequence</h2><div class="agenda"><p>0–3 · Check in</p><p>3–7 · Inspect W01: “Which word were you answering about?”</p><p>7–12 · Model M01: Nia found a folder. She opened it.<br>Substitute: Nia opened the folder.</p><p>12–18 · Guided G01: Jo picked up a cup. He washed it.</p><p>18–22 · Independent E01</p><p>22–25 · Choose the next step from actual evidence</p></div></section><section class="panel "><h2>Guided practice: what does “it” name?</h2><label for="practice">G01 answer<input id="practice" type="text" value="" ></label><button type="button" id="check-practice">Check practice</button><div class="result" id="practice-result" aria-live="polite">No practice answer checked.</div></section><section class="panel "><h2>Independent exit: keep the actual response separate</h2><p>Sam set a book on the table. Then Sam opened it.</p><p>Ask what “it” names and how “opened” supports the choice.</p><label for="exit-answer">Actual exit answer<input id="exit-answer" type="text" value="" ></label><label for="exit-reason">Actual explanation<textarea id="exit-reason" rows="3"></textarea></label><fieldset><legend>Tutor support for the exit response</legend><label for="support-unrecorded"><input type="radio" name="support" id="support-unrecorded" value="unrecorded" checked>Not recorded</label><label for="support-supported"><input type="radio" name="support" id="support-supported" value="supported">Supported</label><label for="support-independent"><input type="radio" name="support" id="support-independent" value="independent">Independent</label><p id="support-status" aria-live="polite">Tutor support: not recorded</p></fieldset><button type="button" id="next-plan">Review next-session suggestion</button><details id="teacher"><summary>Teacher reference, not a learner response</summary><p>E01: it refers to the book. The action “opened” supports book rather than table. An explanation still needs teacher review.</p></details><button type="button" id="reset">Reset entries</button></section></div><footer><p>Original fictional teaching example. Entries are temporary and are cleared on reload; no responses are sent or saved.</p></footer></main><script>
(()=>{'use strict';const $=id=>document.getElementById(id);const text=(id,value)=>{$(id).textContent=value;};const on=(id,event,fn)=>$(id).addEventListener(event,fn);const clear=(ids,fn)=>ids.forEach(id=>on(id,'input',fn));const integer=(s,min,max)=>/^\d+$/.test(s)&&Number(s)>=min&&Number(s)<=max;const money=n=>'$'+n.toFixed(2);const normalize=s=>s.trim().toLowerCase().replace(/[.!?]$/,'');
let supportState=0;on('check-practice','click',()=>{const v=normalize($('practice').value);text('practice-result',!v?'Enter an attempt first.':['cup','the cup'].includes(v)?'Reference match: cup. Jo washed the cup; He refers to Jo in this supplied text.':'Compare what Jo picked up with what was washed. Reference: cup.');});['unrecorded','supported','independent'].forEach((state,value)=>on('support-'+state,'click',()=>{supportState=value;['unrecorded','supported','independent'].forEach((name,index)=>$('support-'+name).checked=index===value);text('support-status',['Tutor support: not recorded','Tutor support: supplied','Tutor support: explicitly independent'][value]);text('next-result','Evidence changed. Review the next-session suggestion again.');}));on('next-plan','click',()=>{const answer=normalize($('exit-answer').value),reason=$('exit-reason').value.trim();text('next-result',!answer?'Exit evidence missing. Obtain an independent response before choosing an extension.':supportState===0?'Support status missing. Record whether the exit was independent or prompted.':supportState===1?'Supported response recorded. Plan a fresh independent check; no mastery decision.':!['book','the book'].includes(answer)?'Referent differs from the book reference. Ask about the strategy before choosing practice.':!reason?'Book matches the reference; explanation missing. Revisit the reasoning link.':'Book matches and an explanation is present. Tutor must review the reasoning before considering an extension; no automatic mastery.');});clear(['exit-answer','exit-reason'],()=>text('next-result','Evidence changed. Review the next-session suggestion again.'));clear(['practice'],()=>text('practice-result','Answer changed. Check the current attempt.'));on('reset','click',()=>{['practice','exit-answer','exit-reason'].forEach(id=>$(id).value='');supportState=0;['unrecorded','supported','independent'].forEach((name,index)=>$('support-'+name).checked=index===0);text('support-status','Tutor support: not recorded');$('teacher').open=false;text('next-result','Exit evidence not entered. Next-session objective unresolved.');text('practice-result','No practice answer checked.');});
})();
</script></body></html>