Design comparison
SolutionDesign
Solution retrospective
Overall am reasonably happy with the results. One thing I am uncertain of is the use of media queries to alter the layout between mobile and desktop views. This is partly due to me using React and splitting the app up into seperate components App, ProfileCard and Button, as each of these have there own styles.module.css file it means that there are media queries in two seperate files. Not a massive issue with so few components but on bigger projects with many more components I can see this being a bigger issue. Is there a better way?
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