Skip to content
  • Learning paths
  • Challenges
  • Solutions
  • Articles
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted about 1 year ago

Frontend Quiz App built with Next.js

next, react, tailwind-css, typescript, zustand
Alexis De Leon•470
@alexisdlr
A solution to the Frontend Quiz app challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


What are you most proud of, and what would you do differently next time?

In this challenge there were things that I am proud to say that I overcame, like the implementation of framer-motion animations which gives an extra touch to the application in UX.

What challenges did you encounter, and how did you overcome them?

The most difficult thing I faced in this project was the state management in my application, because I used Next.js to do this project I initially didn't know how to manage the game state on the server side, at first I tried to use server actions to fetching the questions, but I realised it was better to use zustand to manage a global game state and I ended up using most of my components on the client side.

What specific areas of your project would you like help with?

I would like some advice for future projects on how to organise my components, this time I used a structure based on atomic-design, but I would like to learn more.

Code
Select a file

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on Alexis De Leon'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
Frontend Mentor logo

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub