Dictionary Web App; made with React and Tailwind

Solution retrospective
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.
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.
Please log in to post a comment
Log in with GitHubCommunity 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