Skip to content

[FEATURE] Clarify Quiz Badge: Show Both Question Bank Size and Actual Quiz Length #201

@NaitikVerma6776

Description

@NaitikVerma6776

Feature Description

Currently, each quiz card on the listing page displays a badge showing "22 QS" which represents the total number of questions in the question bank. However, when a user starts the quiz, they are only given 10
randomly selected questions per attempt.
This creates a minor confusion for first-time users who expect to answer all 22 questions.

Problem It Solves

A new user sees "22 QS" on the card and expects a 22 Questions quiz. But the actual quiz only has 10 questions. This mismatch affects the user experience and clarity of the platform.

Proposed Solution

Update the quiz card badge to clearly show both values.
For example:

  • "10 / 22 QS"
  • OR "10 QS (from 22)"
  • OR show "22 Q Bank" with a separate "10 per quiz" label

This way users immediately understand:
✅ There are 22 questions in the bank
✅ Each attempt gives 10 random questions
✅ Retrying gives a fresh set every time

Additional Context

The quiz logic in QuizClient.tsx already handles this correctly using:
const total =Math.min(10,quiz.questions.length);

This is purely a UI label improvement, no logic changes needed. Small change, big clarity boost for users.
Please assign this to me @pushkarscripts ... I have been seriously willing to contribute to anything I can .

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions