React.js, React hooks, CSS

Solution retrospective
This is my first React app so pardon the unstructured layout.
- Are there any resources or recommendation to structure an app like this when using react? I added all of my CSS to one style sheet App.css and was wondering if I should also separately add my page CSS and form CSS in different files.
- I noticed that react injects the code within a div element so I was wondering if I still should add <header> <main> and <footer> tags within react? Let me know if you have any suggestions/tips/spotted bugs, I'd greatly appreciate it!
Please log in to post a comment
Log in with GitHubCommunity feedback
- Account deleted
This comment was deleted over 3 years ago
Marked as helpful - @XxtbmfxX
This is how i structure my styles using SASS. Index have variables, normalice, App styles and Media.
https://github.com/XxtbmfxX/frontmentor02/tree/master/src/styles
App have all components styles.
Marked as helpful
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