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

Dictionary web App built with Next.js and Tailwind CSS.

next, tailwind-css, zustand
Alexis De Leon•470
@alexisdlr
A solution to the Dictionary web 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?

What I am most proud of is that I learned new things in this project which I had never tried before and tackled the problem by myself, and in future projects I would like to investigate more about how to improve the optimization in nextjs applications, as well as improve the process of getting the data from a server and passing it to the client.

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

The main problem I faced was how to implement a global state to change the font of the whole application, my solution was to create a global state with zustand as well as the function to change the font, then import the local fonts which I had never handled and I used the next/fonts/local library, once imported the logics depending on which font the user selects is applied in the application.

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

If someone would analyze my code I would like to get some support to see if the logic I applied to query the api was the right one or how I can refactor that part. Thanks in advance.

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