Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialMatthaios Katsivelis
525 Pointsfile structure frontend and backend
Hi everyone!
I have done a project in which I have used the file structure below : resources css favicon img js vendors css fonts js My backend part is : public css styles.css queries.css js scripts.js views partials footer.ejs header.ejs home.ejs
app.js package.json
I wrote the two parts separately and now I don't know where to place each file. I know that I have to brake the index.html to header.ejs/ footer.ejs and place the assets in the public directory.. So where should i place the vendors?
1 Answer
Steven Parker
231,261 PointsThe placement isn't as important as making sure that the references to the files in the HTML agree with the placement.
For more specific help, you can share the entire workspace by making a snapshot and posting the link to it.
Matthaios Katsivelis
525 PointsMatthaios Katsivelis
525 Pointsthank you Steve!