Skip to content
Submitted almost 5 years ago

ReactJS + Vite, and using CSS modules

LVL 3
@susumantan
A solution to the Stats preview card component challenge

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-image i was declaring width and height. This was something that i find bothering, because i was thinking in responsive mode i need to re-declare width and height again. 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

Community 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