Design comparison
Solution retrospective
Another project delivered! This time more than one-page website :D
Do you have any suggestions on management of files in case of multi-page projects?
Any suggestions are welcome!
Best and happy coding! :)
Community feedback
- @tomazi15Posted over 1 year ago
Hi @Kamil Wiater
Firstly i think you have done great job in terms of the design and responsiveness.
One thing i would change immediately is the directory naming convention ie:
secondary page
when you have a folder with a space in it i can cause you a lot of headache if you were trying to ship your code into production, when you bundle your code it could break. to avoid it just try sticking to not using space ie:secondaryPage
.Next thing i would do i would strip the html page from its
sections
and turn them into stand alone components.also i would create
src
directory when i would keep all the implementation files to keep them away from all the config files likepackage.json
suggested file structure:
./src/ components/ pages/ images/
Also for each component, you would create a sub directory where you would keep all the component specific file ie:
component.js
componet.scss
component.test
Keep the up the good work 👌
Marked as helpful1
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