Design comparison
SolutionDesign
Solution retrospective
Hi
This is one of my first solo projects in React and really enjoyed working on it. I created a component for the activity cards and I wasn't sure how to style the cards depending on the activity, so I decided to style them with the help of a utility function that provides the in-style variables. Is this a good way of achieving this or is there a best practice way to do this?
Thanks Cristina
Community feedback
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