Skip to content
Submitted about 3 years ago

Dictionary web app built with React and Styled Component

react, styled-components
LVL 1
Suan30
@suanTech
A solution to the Dictionary web app challenge

Solution retrospective


I struggled with separating components at the beginning, and am not sure whether what I did is a proper approach or not, so I'd really appreciate any feedback on that. Also for changing the body's font family, is it best practice to use useEffect? I tried to solve it with theme and global styles but I couldn't make it work. And is there any other way to set the font family according to the selection other than matching each values with the font family? It seems quite long lines of code. I tried refactoring, but still feels like it's messy and long 😩 Please help me and give it a review 🥺 Thanks in advance

Code
Loading...

Please log in to post a comment

Log in

Community feedback

No feedback yet. Be the first to give feedback on Suan’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