Design comparison
SolutionDesign
Solution retrospective
I started learning react six months ago, so please forgive me if I did something not as expected. I have used switch statment twice to reuse the components but i am unsure if this is the right solution, i would welcome advice on how to make it work better. I welcome any feedback and advice to help me improve my skills.
Community feedback
Please log in to post a comment
Log in with GitHubJoin 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