Design comparison
Solution retrospective
š Hello there Here's my second solution for this challenge
What's new:
- added a simple slider logic to switch current tab every 15secs
- used react router for switching pages
- attempted some css only animations
Problems with current Implementation:
- repetition: the logic for clicking to switch tabs and for changing it automatically are the same so I'm currently repeating the same logic through different pages. I'll be trying to reduce the code duplication by using a custom hook.
please do let me know if you find any problems or have any tips for me to improve
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