fix: rewrite flexbox task descriptions to describe outcomes instead of answers (#3)

Replace copy-pasteable CSS declarations in all 6 flexbox lesson tasks with
outcome-oriented descriptions. Update validation error messages to hint at
properties without revealing exact declarations. Add regex validation for
flexbox-6 to accept both flex: 1 and flex-grow: 1.
This commit is contained in:
2026-03-28 19:25:32 +01:00
parent 672a2d28cb
commit 61acd692f4
2 changed files with 20 additions and 20 deletions

View File

@@ -1,13 +1,13 @@
# Tasks
## Phase 1: Core Content Changes
- [ ] Task 1.1: Rewrite task text for all 6 flexbox lessons to describe visual outcomes [P]
- [ ] Task 1.2: Rewrite validation error messages to hint without revealing answers [P]
- [X] Task 1.1: Rewrite task text for all 6 flexbox lessons to describe visual outcomes [P]
- [X] Task 1.2: Rewrite validation error messages to hint without revealing answers [P]
## Phase 2: Alternative Validations
- [ ] Task 2.1: Add regex validation for flexbox-6 to accept both `flex: 1` and `flex-grow: 1`
- [X] Task 2.1: Add regex validation for flexbox-6 to accept both `flex: 1` and `flex-grow: 1`
## Phase 3: Validation
- [ ] Task 3.1: Run existing test suite to confirm no regressions
- [ ] Task 3.2: Verify flexbox.json still conforms to module schema
- [ ] Task 3.3: Run lesson format check (`npm run format.lessons`)
- [X] Task 3.1: Run existing test suite to confirm no regressions
- [X] Task 3.2: Verify flexbox.json still conforms to module schema
- [X] Task 3.3: Run lesson format check (`npm run format.lessons`)