Design comparison
Solution retrospective
This was a great challenge for me to revise some of the core React features since I've been away from coding for a while. I made the cash split into 7 random amounts each time it loads which became a bit harder than I expected but I'm glad I came up with a solution. I also tried using BEM for naming things although it doesn't really matter here because I used CSS modules for each component. Any kind of feedback or suggestions would be much appreciated. Thanks in advance and Happy Coding!
Community feedback
- @elaineleungPosted over 2 years ago
Hi Kaung, well done on completing this challenge with React, and I think everything looks good 🙂
I think the only comment I have is, I'm trying to understand the bit about using random numbers; are you trying out how to generate a new set of data every time the app loads? I also don't see you using the challenge's json data that was provided, nor can I find it, so that's why I was wondering why your numbers don't match the ones in the design and was also curious about the reasoning behind that decision.
By the way I also prefer using CSS modules for styling when I'm using Nextjs... not a fan of styled components sadly!
1@K4UNGPosted over 2 years ago@elaineleung Ohhh.. I didn't even notice there was a json file provided, lol. But either way, I figured it'd be a bit more challenging to think of a logic for generating random numbers rather than using some static ones. Thanks a lot for your feedback and btw I also hate styled components.
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