The course challenge: students plan, build and test a data app for a real person in five milestones (plan the table, add and show, remember and find, test with a user, improve one thing). A sort at the start matches jobs to the course's tools. Milestone 3 has an automatic check: a remembered table and a For each row loop.
Open these in Waypoints Prepare with one click. To share a file another way, copy its address and paste it into Load URL, or download the file and import it. In Prepare, the worksheet's Teacher edition shows the answers; the student copy hides them.
About three lessons: plan and add/show (lesson 1), remember and find (lesson 2), test with a user and improve (lesson 3).
The user is a real person the student can ask: a classmate, family member, club or younger student.
Records stay made up or the student's own: no one else's personal details (names, contacts, health, grades). A reading log or training log of their own is ideal.
Remembered data stays in the browser it was added in. Students hand in the project with Save; if the teacher should see real records, students add them as starting rows in the sidebar before saving.
Suggested checkpoints: see each table plan (fields and types) before building; see Milestone 2 working; collect the three-line write-up from Milestone 5.
On the slides at these points. Students can do the whole lesson on their own; these are for the room. In the deck, the Run, Modify and Make slides have the live playground in them (the tutorial link is the backup), and the notes above are in each slide's speaker notes.
The question the user wants answered decides the fields and the search, filter, sort or total.
Before building, students write their table's fields with a type each, and three example records as rows. A partner checks: does every row fit? Is anything a number that should be added up or sorted?
Fields are easiest to change on paper.
Choosing fields. Students want too many; three or four is plenty. The three example rows in Milestone 1 show whether the fields work before anything is built.
| What you will see | A question to ask | The fix |
|---|---|---|
| A student can't choose an idea. | What do you or someone you know keep track of? | Start from one of the listed ideas and change it for that person. |
| The table has many fields. | Which fields will the user actually search, sort or add up? | Keep those and a name or title; the rest go on a 'later' list. |
| The search or filter finds nothing. | Does the test compare the right field, and is the field the right type? | Reuse the pattern from lesson 5: clear results, For each row, test, add a row. |
One possible solution for each task. Other correct programs are fine.
{"version":1,"name":"Reading log","device":"web","features":{"level":4},"variables":[{"name":"Books","table":{"fields":[{"name":"title","type":"text"},{"name":"author","type":"text"},{"name":"pages","type":"number"}]},"value":[{"title":"Holes","author":"Louis Sachar","pages":233},{"title":"The Hobbit","author":"J. R. R. Tolkien","pages":310}],"remember":true},{"name":"Found","table":{"fields":[{"name":"title","type":"text"},{"name":"author","type":"text"},{"name":"pages","type":"number"}]},"value":[]}],"screens":[{"id":"home","name":"Home","objects":[{"name":"Title","kind":"text","instanceVars":[],"instances":[{"id":"h1","x":24,"y":16,"w":500,"h":40,"text":"My reading log","visible":true,"vars":{}}]},{"name":"TitleInput","kind":"input","instanceVars":[],"instances":[{"id":"i1","x":24,"y":64,"w":200,"h":42,"text":"","visible":true,"vars":{}}]},{"name":"AuthorInput","kind":"input","instanceVars":[],"instances":[{"id":"i2","x":236,"y":64,"w":180,"h":42,"text":"","visible":true,"vars":{}}]},{"name":"PagesInput","kind":"input","instanceVars":[],"instances":[{"id":"i3","x":428,"y":64,"w":80,"h":42,"text":"","visible":true,"vars":{}}]},{"name":"AddButton","kind":"button","instanceVars":[],"instances":[{"id":"b1","x":520,"y":62,"w":130,"h":46,"text":"Add book","visible":true,"vars":{}}]},{"name":"BookTable","kind":"table","instanceVars":[],"instances":[{"id":"T1","x":24,"y":120,"w":420,"h":300,"text":"","visible":true,"vars":{},"source":"Books","columns":""}]},{"name":"LongButton","kind":"button","instanceVars":[],"instances":[{"id":"b2","x":460,"y":120,"w":200,"h":46,"text":"Books over 300 pages","visible":true,"vars":{}}]},{"name":"FoundTable","kind":"table","instanceVars":[],"instances":[{"id":"T2","x":460,"y":176,"w":320,"h":244,"text":"","visible":true,"vars":{},"source":"Found","columns":""}]}],"events":[{"id":"e1","else":false,"conds":[{"type":"onClicked","target":"AddButton"}],"actions":[{"type":"tableAdd","table":"Books","values":{"title":"TitleInput.text","author":"AuthorInput.text","pages":"int(PagesInput.text)"}},{"type":"tableSort","table":"Books","field":"title","dir":"up"}],"children":[]},{"id":"e2","else":false,"conds":[{"type":"onClicked","target":"LongButton"}],"actions":[{"type":"tableClear","table":"Found"}],"children":[{"id":"e2a","else":false,"conds":[{"type":"forEachRow","table":"Books"},{"type":"compareValues","left":"LoopItem.pages","op":">","right":"300"}],"actions":[{"type":"tableAdd","table":"Found","values":{"title":"LoopItem.title","author":"LoopItem.author","pages":"LoopItem.pages"}}],"children":[]}]}]}]}
Stretch: Add a second table linked by a shared value (lesson 7), such as Authors and Books.
Support: Offer a starter plan: a reading log with title, author and pages, a Books over 300 pages filter, and a total of pages read.
What did your user try that you didn't expect, and what did you change because of it?
Any specific answer tied to what they watched, not a general opinion.
Students can go on to the optional linked tables lesson, then to SQL (databases) or Python's data courses.