feat: implement #9 — rewrite colors and box-model task descriptions

Rewrite task text in Colors (4 lessons) and Box Model (8 lessons x 6
locales) to describe visual outcomes instead of giving copy-paste CSS
answers. Colors validations changed from property_value to regex
accepting multiple valid named colors per lesson.
This commit is contained in:
2026-03-28 23:56:55 +01:00
parent 6b285b4a2e
commit c3f1824059
8 changed files with 81 additions and 77 deletions

View File

@@ -1,22 +1,22 @@
# Tasks
## Phase 1: Colors Module
- [ ] Task 1.1: Rewrite task text for all 4 colors lessons to describe visual outcomes
- [ ] Task 1.2: Change colors validations from property_value to regex accepting multiple valid color names
- [ ] Task 1.3: Update colors validation error messages to hint without revealing answers
- [X] Task 1.1: Rewrite task text for all 4 colors lessons to describe visual outcomes
- [X] Task 1.2: Change colors validations from property_value to regex accepting multiple valid color names
- [X] Task 1.3: Update colors validation error messages to hint without revealing answers
## Phase 2: Box Model Module (English)
- [ ] Task 2.1: Rewrite task text for all 8 box-model lessons to describe visual outcomes
- [ ] Task 2.2: Review box-model validation messages (already good, update only if needed)
- [X] Task 2.1: Rewrite task text for all 8 box-model lessons to describe visual outcomes
- [X] Task 2.2: Review box-model validation messages (already good, update only if needed)
## Phase 3: Box Model Translations [P]
- [ ] Task 3.1: Rewrite task text in Arabic (ar/01-box-model.json) [P]
- [ ] Task 3.2: Rewrite task text in German (de/01-box-model.json) [P]
- [ ] Task 3.3: Rewrite task text in Spanish (es/01-box-model.json) [P]
- [ ] Task 3.4: Rewrite task text in Polish (pl/01-box-model.json) [P]
- [ ] Task 3.5: Rewrite task text in Ukrainian (uk/01-box-model.json) [P]
- [X] Task 3.1: Rewrite task text in Arabic (ar/01-box-model.json) [P]
- [X] Task 3.2: Rewrite task text in German (de/01-box-model.json) [P]
- [X] Task 3.3: Rewrite task text in Spanish (es/01-box-model.json) [P]
- [X] Task 3.4: Rewrite task text in Polish (pl/01-box-model.json) [P]
- [X] Task 3.5: Rewrite task text in Ukrainian (uk/01-box-model.json) [P]
## Phase 4: Validation
- [ ] Task 4.1: Run existing test suite to confirm no regressions
- [ ] Task 4.2: Run lesson format check (npm run format.lessons)
- [ ] Task 4.3: Verify all modified JSON files conform to module schema
- [X] Task 4.1: Run existing test suite to confirm no regressions
- [X] Task 4.2: Run lesson format check (npm run format.lessons)
- [X] Task 4.3: Verify all modified JSON files conform to module schema