Design comparison
Solution retrospective
Hello Everyone!
Here's my challenge for the card preview.π I'm not sure of my JS though, I used another share button on top of the share button when the popup is displayed.
Any feedback is welcome! Thank you and happy coding ! π»
Community feedback
- @ApplePieGiraffePosted over 3 years ago
Hello, once again, Hoophelie! π
Nice to see you complete yet another challenge! π Good work on this one! π I like the smooth animation that you added to the social media popup! π
I'd like to suggest following the helpful suggestions given by AgataLiberska and pikamartβsince that was nearly exactly what I was going to suggest for your solution! π
Of course, keep coding (and happy coding, too)! π
1 - @pikapikamartPosted over 3 years ago
Hey, good work on this and it really looks good in mobile and desktop. Resizes well, good for that and the animation of the popup is really smooth, adding a
cursor: pointer
to it would be much better. I looked into your js, and it seems fine ^1@HOOPheliePosted over 3 years agoAaand, I added it! Thank you for taking time to review my code π
0 - @AgataLiberskaPosted over 3 years ago
Hi @HOOPhelie, your solution looks very nearly pixel perfect, very impressive :) I think you could improve it by adding some styles to hover state on the buttons and the links in the modal.
I would personally also set a max-width on the card in mobile design so it doesn't stretch too much, that way you could see more of the image - since it's an article about interior design, I think it plays quite an important role in the component. Another way to save that image would be to use vw unit to set the height of the image container - it's a trick I figured out recently and I've been loving it :D
I don't have enough experience to assess your javascript, but I mean... it works really nicely :) The way I did it was to use
z-index
so that the button would be "above" the modal when it's displayed - but I don't think that wouldn't work well with the animation you've got.Hope this helps :)
1@HOOPheliePosted over 3 years agoHello @AgataLiberska!
Thank you for your review, I indeed overlooked those details, which are important for users' experience! π
0
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