Article-preview-component | Tailwind CSS | vanilla JS
Design comparison
Solution retrospective
It was a bit complicated to make the mobile pop-up look the way it was intended in the design, in the end I created a second button for the mobile version.
Community feedback
- @avinnoPosted about 1 year ago
Hey! Great job on this challenge project!
I had the exact situation with the popup menu. I found myself needs to make a second button as well. I could restructure it to line up right and just set the z-index so the original button shows on top when the popup shows, but like you said, in the end I felt it was not worth it to redo things just for that and instead add a second button to show/hide with the mobile menu. I know that sounds lazy and not a great option or thing to say, but I do know I COULD have done it if needed, but I was able to accomplish the challenge requirements overall. You pick and choose your battles and how to tackle them. With this one, I did it up similar to your comments.
Thanks for making me feel less alone on this one!
Marked as helpful0
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