A multiple-choice quiz with score tracking and result summary.
Difficulty: Beginner · Technology: JavaScript
Features to build
- Question bank in JSON
- Timer
- Score summary
- Restart option
Step-by-step build plan
- Store questions in a JSON file
- Show one question at a time
- Track the score
- Add a timer and a result screen
- Shuffle questions on restart
The part most people find hard
Preventing double clicks from scoring twice.
How to test it
Play through with all right, all wrong and mixed answers.
Suggested extensions
Add user accounts, better error handling, automated tests and a README with screenshots. Each extension is a new talking point in interviews.
How to describe it on your resume
Built an interactive quiz app with timer and score tracking.
Portfolio tip
Deploy it, link both the live version and the code, and write two paragraphs about what you learned and what you would improve.