Skip to content

Improve quiz feedback and chapter endings - #57

Merged
And-Gu merged 1 commit into
mainfrom
improve/quiz-chapter-endings
Nov 21, 2026
Merged

And-Gu merged 1 commit into
mainfrom
improve/quiz-chapter-endings

Conversation

@And-Gu

@And-Gu And-Gu commented Nov 21, 2026

Copy link
Copy Markdown
Owner

Refs #56.

Changes

  • Make the quiz a distinct section with a stable anchor, a link from the in-page contents where available, and a more readable mobile layout.
  • Focus the score after submission and provide a keyboard- and touch-accessible way to review the first incorrect answer and return to the score. Preserve selections and the existing unanswered and reset behavior.
  • Put the contextual continuation after the quiz in all 12 lessons. Add a return link to the course summary and clarify the bonus chapter’s exercise.

Local verification

Tested the production build from clean commit 204f968fc6afad8314b968a228897a4e358b483f. 16 of 16 targeted Playwright tests passed, eight each in Chromium and WebKit.

Viewport Passed checks
320 × 900 and 390 × 900 All 14 pages reflow without horizontal overflow. Each lesson has one quiz. Available contents links reach the quiz, and the contextual next-chapter link follows it.
390 × 844, emulated touch Chapters 2 and 5 handle empty submission, mixed answers, the review and return controls, rechecking and reset.
1440 × 900, desktop All 14 pages pass the layout and reading-order checks. The same quiz flow passes with keyboard navigation in chapters 2 and 5.

The data-enrichment reading check also passed in both engines with JavaScript disabled and enlarged text. The Astro build and type check passed, along with content, curriculum, learning and budget checks. The content check verified 3,266 internal links and assets.

The hosted verification in #56 remains to be run after deployment.

@And-Gu
And-Gu merged commit 3444d6f into main Nov 21, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant