Submitted over 4 years agoA solution to the Stats preview card component challenge
ReactJS + Vite, and using CSS modules
@susumantan

Solution retrospective
Hello 👋,
I was watching React tutorials on Youtube and wanted to try it in a project, this was the result 😄. Overall I'm happy with the result. But i would like some advice on:
- Since i use the image as a
background-imagei was declaringwidthandheight. This was something that i find bothering, because i was thinking in responsive mode i need to re-declarewidthandheightagain. But i didn't find any other good solution 😐. Maybe someone can lend me some advice on how to approach this?.
As I'm new to React, any advice on that is really helpful as I want to develop bigger projects with React 💙. Keep on coding 🎉
Code
Loading...
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on SuzuMantan'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