Skip to content

Commit

Permalink
change countAnswered to currentQuestionIndex for displaying question no.
Browse files Browse the repository at this point in the history
  • Loading branch information
danieldanielecki authored Oct 3, 2024
1 parent d781aca commit 46644c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/exam/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ const Exam: NextPage<{ searchParams: { url: string; name: string } }> = ({
<div>
<div className="px-2 sm:px-10 w-full flex flex-row justify-between items-center">
<p className="text-white font-bold text-sm sm:text-2xl">
{countAnswered}/{numberOfQuestions}
{currentQuestionIndex}/{numberOfQuestions}
</p>
<h1 className="text-white font-bold text-lg sm:text-3xl">
PRACTICE EXAM
Expand Down

0 comments on commit 46644c3

Please sign in to comment.