Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

HTML

file 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
Steven Parker
220,378 Points

The 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.

thank you Steve!