Design comparison
SolutionDesign
Solution retrospective
What are you most proud of, and what would you do differently next time?
I'm not very proud of this solution to be honest. I underestimated the challenge. I'd make the code more concise and trim down the excessive components next time.
What challenges did you encounter, and how did you overcome them?- Positioning tooltip on larger screens. I solved this issue by creating a div to wrap the buttons and the tooltip in it, and gave the tooltip absolute positioning.
- Creating the proper active states for both mobile and desktop. I solved this issue by creating different markup and styles for each.
The markup and CSS was messy and I had to use a lot of extra components which are probably not necessary. I'll make the necessary code changes based on any feedback. There is also a 'bug', which occurs when testing the website's responsiveness with devtools, but shouldn't be an issue for the end user. Nonetheless, any help in fixing the bug is highly appreciated.
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