Design comparison
Community feedback
- @NationsAnarchyPosted about 2 years ago
Not really sure what you mean with the feedback section Joan - the card looks perfect to me. So can you be a bit more specific with that?
Good job, by the way - I love seeing simple solutions using modern tools and frameworks :D
1@joanofstuffPosted about 2 years ago@NationsAnarchy Thank you for your feedback and kind words. If you're referring to the question I originally had in the description, I fixed the issue since then, it turned out I was adding the event listener for 'resize' correctly but forgot to call the handler by itself inside useEffect, effectively setting the right image on first page load.
1@NationsAnarchyPosted about 2 years ago@joanofstuff Oh - that's awesome. Thanks for letting me know that :D The card is pretty much perfect when I visit the site anyway, so I was confused 😂
1
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