Skip to content

Conversation

@huyenltnguyen
Copy link
Member

@huyenltnguyen huyenltnguyen commented Jan 26, 2026

Checklist:

This PR:

  • Implements Audio and Transcript components
    • These are internal components used only by Quiz and QuizQuestion. Converting them into standalone components and replacing those in /learn is possible, but it would require refactoring because the /learn components contain embedded business logic.
  • Updates QuizQuestions to support audioUrl, audioAriaLabel, and transcript props. If these props are provided, the component will show Audio and Transcript
  • Closes Add audio and transcription to Quiz and QuizQuestion #727
  • Is related to https://github.com/freeCodeCamp/language-curricula/issues/4

Screenshots

Transcript collapsed Transcript expanded
Light Screenshot 2026-01-27 at 05 43 41 Screenshot 2026-01-27 at 05 31 59
Dark Screenshot 2026-01-27 at 05 31 26 Screenshot 2026-01-27 at 05 31 46

@huyenltnguyen huyenltnguyen force-pushed the feat/quiz-question-audio branch from 59f321b to 9c5b05c Compare January 27, 2026 00:20
@huyenltnguyen huyenltnguyen changed the title feat: add Audio component and integrate with quiz questions feat: implement and integrate Audio and Transcript components with QuizQuestion Jan 27, 2026
@huyenltnguyen huyenltnguyen marked this pull request as ready for review January 27, 2026 00:32
@huyenltnguyen huyenltnguyen requested a review from a team as a code owner January 27, 2026 00:32
@raisedadead
Copy link
Member

You should now be able to land these PRs without waiting on the platform team. Thanks.

@huyenltnguyen
Copy link
Member Author

Thanks, Mrugesh!

@huyenltnguyen huyenltnguyen merged commit 8c34f4a into freeCodeCamp:main Jan 27, 2026
8 checks passed
@huyenltnguyen huyenltnguyen deleted the feat/quiz-question-audio branch January 27, 2026 10:57
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.

Add audio and transcription to Quiz and QuizQuestion

2 participants