![](https://res.cloudinary.com/dz209s6jk/image/upload/f_auto,q_auto,w_900/Screenshots/i1qvni8xd9cohsepdxeq.jpg)
Design comparison
SolutionDesign
Solution retrospective
I tried using switch function in javascript to make my code cleaner but somehow i couldn't get the hang of it. So instead i had to hard-code it but I'm sure there is a much better way to avoid many lines. Also during javascript manipulation i wanted to have a transition delay but i couldn't find a way, if there is a way to do this please help out.
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