Submitted over 2 years agoA solution to the Stats preview card component challenge
Responsive stats card component
@MelakuAlehegn

Solution retrospective
I have tried to make the page as responsive as possible by writing media query for 3 screen sizes. My questions
- which is better for the image on the left, putting an empty div on the html and filling it with image using url(), which I did because it is easier to switch to another image for mobile view, or actually putting img tag on html, which I don't see any methods to switch to another img when the screen size is smaller.
- does the view change to mobile when the screen is below 375px or does it end there? I couldn't understand where to start and end my media query from the style guide file.
Code
Loading...
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Melaku Alehegn's solution.
Join 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