Design comparison
Solution retrospective
I'll love to know if there are better ways of structuring my code
Community feedback
- @mattstuddertPosted over 4 years ago
Hey Samaila, great work on this project! Your solution looks great. What do you feel is wrong with the way you've structured your code? I think you've done a really good job!
0@sa-maPosted over 4 years agoIt's the first time I've used SCSS in a React project so I wasn't sure if I had to put all the SCSS files in one place or in their respective components.
0@mattstuddertPosted over 4 years ago@sa-ma putting the SCSS files in the same folder as the component is completely fine and a lot of people use that approach. Another popular architecture for Sass projects is the 7:1 Pattern which you might find useful to read up on.
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