Skip to lesson content
SIAMISComputing Class Lesson Plan
Siam International School · Computing Class
0%

SIAMISComputing Class Lesson Plan · Siam International School
Welcome to Teacher Ray's Lesson Plan.
Lesson plans & materials
Year 1 Computing
${escape(state.label||(['Saturday','Sunday'].includes(day)?'Weekend':'No teaching today'))}No lessons scheduled today.`;
}else{
const lessons=[];
Object.entries(window.LESSON_TIMETABLE).forEach(([y,subjects])=>Object.entries(subjects).forEach(([sub,slots])=>slots.forEach((slot,i)=>{
if(slot.day!==day)return;
const week=curriculum[y]?.[sub]?.terms[state.term]?.weeks[state.week];if(!week)return;
lessons.push({y,sub,slot,topic:week[i+1],lesson:i+1});
})));
lessons.sort((a,b)=>a.slot.time.localeCompare(b.slot.time)||Number(a.y.split('-')[0])-Number(b.y.split('-')[0]));
const eventKey=new Intl.DateTimeFormat('en-GB',{day:'numeric',month:'short',year:'numeric',timeZone:'UTC'}).format(new Date(date+'T12:00:00Z'));
const events=(schoolEvents[state.term]?.[state.week+1]||[]).filter(e=>e[1]===eventKey);
if(events.length)body+=`${icon('calendar')}${events.map(e=>escape(e[0])).join(' · ')} · Check event arrangements before teaching.`;
body+=lessons.length?`
${lessons.map(x=>{
const available=window.LESSON_CONTENT?.[lessonKey(x.y,x.sub,state.term+1,state.week+1)];
const args=`'${x.y}','${x.sub}',${state.term},${state.week},${x.lesson}`;
return `
Period ${x.slot.period}