Quiz App with React Js

Solution retrospective
• Implementing Context API and useReducer for dark mode and quiz data. • Completing the project ahead of schedule and making it responsive. • Adding interactive effects like button scaling for a polished feel.
Do differently: • Break components into smaller parts for cleaner code. • Spend more time testing for bugs and edge cases. • Add better error messages and explore automated testing.
What challenges did you encounter, and how did you overcome them?• Scoring bug: Fixed by tracking state updates and recalculating the score. • Click effect issues: Used setTimeout to reset styles for smooth interaction. • Deployment errors: Adjusted homepage in package.json and fixed resource paths. • Overthinking while coding: Focused on small, clear goals to stay on track.
What specific areas of your project would you like help with?Optimizing state management and reducing unnecessary rerenders. • Adding tests for bugs or unexpected user behavior. • Improving animations, transitions, and accessibility. • Learning how to integrate backend APIs to fetch quiz data dynamically.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Ayomide's solution.
Join our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord