F06: web-grundlagen-3 1.0.0 – forms with a learning server #1

Merged
oliver.maklott merged 1 commit from f06-web-grundlagen-3 into main 2026-10-01 17:00:34 +00:00

F06 from Plan 6 (aivopod-app SPEC §14 Teil F): web-grundlagen-3 1.0.0 – forms with a learning server.

Challenge Levels Content
Formular und Felder normal, erweitert form, input, label with for/id, name as what arrives, field types
Absenden und Antwort normal, erweitert action, method (GET or POST), statuses 201/404/422
Eingaben prüfen normal, erweitert required, type="email", min/max; the server checks anyway (422, novalidate)
Auswahl, Text und Haken normal, erweitert, experte select/value, textarea, checkbox, radio
Bilder hochladen normal, erweitert type="file", accept, enctype, the server's gallery
  • Server: one server for all challenges (gemeinsam/tierheim.ts), with collections tiere and anfragen, start data, and a gallery as its own route (HTML with escaped values). The store is tierheim (aivopod.speicher), so later packs can find the animals.
  • Checks: html and dom, plus server with actions, i.e. what the page really sends; the statuses come from the real server in the pack tests.
  • Tests: 61, with typical mistakes:
    • name missing or misspelled, id instead of name;
    • GET instead of POST, a wrong address;
    • required on the wrong element, maxlength instead of max;
    • value capitalised or missing;
    • a textarea without its end tag, radios with different names;
    • enctype on the wrong element, a sound file instead of a picture.
  • Real browser (pack preview with the platform's frontends): all 27 steps play. In 17 targeted cases every correct solution gets "Richtig!" and the mistakes get their feedback; max="4" makes the browser stop the form ("nichts an den Server geschickt").
  • Needs Aivopod 0.6.0-rc.3 (SDK and CLI in CI).

🤖 Generated with Claude Code

F06 from Plan 6 (aivopod-app SPEC §14 Teil F): `web-grundlagen-3` 1.0.0 – forms with a learning server. | Challenge | Levels | Content | | --- | --- | --- | | Formular und Felder | normal, erweitert | `form`, `input`, `label` with `for`/`id`, `name` as what arrives, field types | | Absenden und Antwort | normal, erweitert | `action`, `method` (GET or POST), statuses 201/404/422 | | Eingaben prüfen | normal, erweitert | `required`, `type="email"`, `min`/`max`; the server checks anyway (422, `novalidate`) | | Auswahl, Text und Haken | normal, erweitert, experte | `select`/`value`, `textarea`, checkbox, radio | | Bilder hochladen | normal, erweitert | `type="file"`, `accept`, `enctype`, the server's gallery | - **Server:** one server for all challenges (`gemeinsam/tierheim.ts`), with collections `tiere` and `anfragen`, start data, and a gallery as its own route (HTML with escaped values). The store is `tierheim` (`aivopod.speicher`), so later packs can find the animals. - **Checks:** `html` and `dom`, plus `server` with actions, i.e. what the page really sends; the statuses come from the real server in the pack tests. - **Tests:** 61, with typical mistakes: - `name` missing or misspelled, `id` instead of `name`; - GET instead of POST, a wrong address; - `required` on the wrong element, `maxlength` instead of `max`; - `value` capitalised or missing; - a `textarea` without its end tag, radios with different names; - `enctype` on the wrong element, a sound file instead of a picture. - **Real browser** (`pack preview` with the platform's frontends): all 27 steps play. In 17 targeted cases every correct solution gets "Richtig!" and the mistakes get their feedback; `max="4"` makes the browser stop the form ("nichts an den Server geschickt"). - Needs Aivopod 0.6.0-rc.3 (SDK and CLI in CI). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
web-grundlagen-3 1.0.0: forms with a learning server
All checks were successful
pack / pack (pull_request) Successful in 6s
pack / pack (push) Successful in 6s
540f4d28e4
Five challenges on HTML forms against the pack's learning server (an animal
shelter with the collections tiere and anfragen, store "tierheim"): form and
fields, sending and the server's answer, checks in the browser and on the
server, select/textarea/checkbox/radio, uploading pictures to a gallery.
Checked at the HTML and at what the page really sends (`server` check);
61 tests with typical mistakes. Needs Aivopod 0.6.0-rc.3.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
aivopod-challenges/Web-Grundlagen-3!1
No description provided.