Design comparison
Solution retrospective
This was a really fun project! This app was a bit tricky at first since I've never developed a quiz app before, but I learned a lot of different techniques to implement a component and re-use it.
The hardest part was implementing a component that displays ALL the questions from a specific quiz. I had to make the component dynamic so that it can render all the questions with their respective choices.
I ended up using Redux to keep track of the question that the user is currently on. When the user clicks on the 'Next Question' button, it updates the global store to ensure that the state 'points' to the next question.
For example, when the user starts the quiz, the global store has a property called 'currentQuestionNumber' and it is initialized to 0. Once the user clicks on 'Next Question', then the currentQuestionNumber will be incremented by 1. Now we have ensured that the state points to the next question.
I HIGHLY recommend you try developing this app!
Community feedback
- @mbd89Posted about 1 year ago
So what have you not already built on frontendmentor ? Thanks very much
0@AbelMuroPosted about 1 year ago@mbd89 I've already completed all the guru challenges and most of the advanced challenges, I'm still missing the intermediate challenges.
I'm not planning on doing the junior and newbie projects as I don't think I will learn much from them
0
Please log in to post a comment
Log in with GitHubJoin 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