Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted 7 days ago

Dictionary Web App; made with React and Tailwind

motion, react, tailwind-css, tanstack-query, material-ui
P
Valts Piļāns•90
@valts08
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?

I'm most proud that I handled looping through the audio's when the users wants to preview the pronunciation with seemingly no issue. Although if the button gets spammed, the audios do overlap sometimes, so that could be something to wary of next time I face a similar problem

What challenges did you encounter, and how did you overcome them?
  • Handling font switching. I set the font by making custom Tailwind font classes which I later mapped to values in my app's store state, then I passed the active font based on which value was chosen.

  • Figuring out how to loop through audio files. This just took some research, trial and error.

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

Everything React related. What could I improve, the structure of the main part of the app, how I handle the audio looping, font switching etc. Also, if I could do something better with the Typescript types.

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on Valts Piļāns'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

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

Frontend Mentor

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

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