Next.js Quiz Component Has Logic Bug — Quick Fix Needed
Költségvetés: $15.0
FIXED /
⭐ 0.00 (0)
South Korea
next.js, javascript, react-js
We have a vocabulary quiz feature in our Next.js language-learning app. After a recent update something broke in the quiz logic and we need it fixed fast.
The problems:
When the user picks the correct answer it highlights red (wrong), and when they pick the wrong answer it highlights green (correct) — colors are completely inverted
The score at the end is also wrong — it counts every incorrect answer as correct, so users always get 100% even when they answer everything wrong
What needs to be done:
Find the logic bug in the quiz component
Fix the answer checking and color highlighting
Make sure score calculation is correct at the end
Scope: Very small — single file fix. Should take under 1 hour for an experienced dev.
Tech stack: Next.js · TypeScript · React
Requirements:
Strong React/TypeScript skills
Attention to detail with conditional logic
Quick turnaround
Budget: Fixed price. Open to offers.
Megnyitás Upworkön