Skip to content

[WIP] Add button to abort quiz and return to main menu#5

Merged
silasvd merged 1 commit into
mainfrom
copilot/add-quiz-abort-button
Mar 7, 2026
Merged

[WIP] Add button to abort quiz and return to main menu#5
silasvd merged 1 commit into
mainfrom
copilot/add-quiz-abort-button

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 7, 2026

  • Add cancel button () to the quiz screen header in index.html
  • Add CSS styling (.btn-cancel-quiz) for the cancel button in styles.css; also add truncation to .quiz-title-bar for narrow screens
  • Add DOM reference cancelQuizBtn and click handler in app.js that resets quiz state and navigates back to the start screen
  • Verified UI visually (screenshot below) and functionally (clicking ✕ returns to main menu)
  • Code review passed, CodeQL security scan: 0 alerts

Quiz screen with cancel button


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

@silasvd silasvd marked this pull request as ready for review March 7, 2026 18:18
@silasvd silasvd merged commit dbd2c2e into main Mar 7, 2026
1 check failed
Copilot stopped work on behalf of silasvd due to an error March 7, 2026 18:18
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.

2 participants