Design comparison
Solution retrospective
As I started to develop the card component, I ran into an issue of finding a way to change the desktop image to mobile. I learned a new HTML tag called that allows to change image depending on the window width size.
Community feedback
- @mike15395Posted 4 months ago
Hey @ephraimdjeket Congratulations on completing the challenge!
Your solution looks very perfect. Your code is also very clean and well maintained.
I just wanted to point out one small bug: While transitioning from 613px to less than 613px, the image of desktop appears for a while then again mobile image appears.(check responsiveness in dev tools chrome) I think this bug is because of using em, try using rem or px, it may fix your bug.
Keep growing! Happy Coding:)
Marked as helpful0@ephraimdjeketPosted 4 months agoHi @mike15395! Thank you so much for the feedback! :) Yeah I thought I noticed something there, I'll get it fixed!
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