fix: rewrite validation messages to guide learning instead of revealing answers #7

Merged
libretech merged 1 commits from 004-validation-messages into main 2026-03-28 21:32:32 +01:00
Owner

Summary

  • Rewrote validation messages across box-model and colors lessons to guide learning instead of revealing answers
  • Changed directive messages like "Set padding: 1rem" to pedagogical hints like "Which property adds space inside an element?"
  • Updated all localized lesson files (ar, de, es, pl, uk) with corresponding translated hints
  • Added spec, plan, and tasks documentation for the change

Related to #4

Changes

  • lessons/01-box-model.json — Rewrote 10 validation messages to use guiding questions
  • lessons/03-colors.json — Rewrote 4 validation messages to use guiding questions
  • lessons/ar/01-box-model.json — Arabic localized validation message updates
  • lessons/de/01-box-model.json — German localized validation message updates
  • lessons/es/01-box-model.json — Spanish localized validation message updates
  • lessons/pl/01-box-model.json — Polish localized validation message updates
  • lessons/uk/01-box-model.json — Ukrainian localized validation message updates
  • specs/004-validation-messages/ — Spec, plan, and task tracking documents

Test Plan

  • Validation messages were reviewed to ensure they guide without revealing answers
  • All localized files updated consistently with the English source
## Summary - Rewrote validation messages across box-model and colors lessons to guide learning instead of revealing answers - Changed directive messages like "Set padding: 1rem" to pedagogical hints like "Which property adds space inside an element?" - Updated all localized lesson files (ar, de, es, pl, uk) with corresponding translated hints - Added spec, plan, and tasks documentation for the change Related to #4 ## Changes - `lessons/01-box-model.json` — Rewrote 10 validation messages to use guiding questions - `lessons/03-colors.json` — Rewrote 4 validation messages to use guiding questions - `lessons/ar/01-box-model.json` — Arabic localized validation message updates - `lessons/de/01-box-model.json` — German localized validation message updates - `lessons/es/01-box-model.json` — Spanish localized validation message updates - `lessons/pl/01-box-model.json` — Polish localized validation message updates - `lessons/uk/01-box-model.json` — Ukrainian localized validation message updates - `specs/004-validation-messages/` — Spec, plan, and task tracking documents ## Test Plan - Validation messages were reviewed to ensure they guide without revealing answers - All localized files updated consistently with the English source
libretech added 1 commit 2026-03-28 20:11:14 +01:00
libretech merged commit 05a683388b into main 2026-03-28 21:32:32 +01:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: public/code-crispies#7
No description provided.