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!

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 trial

General Discussion

Arshdeep Singh
PLUS
Arshdeep Singh
Courses Plus Student 8,349 Points

Structuring a full website.

Hello,

I am designing a full website. Previously I have only done one page html & css . I however having trouble understanding how to structure a complete website. Do i have use new css file for every page. and how to link all the different html for ever page together into on single package. Also I want to future proof the project to make it responsive at latter stage. How do i upload the entire website onto a server. Please help.

Thanks

1 Answer

To answer the first question, no, you wouldn't have a CSS file for every page; this would defeat the purpose of having CSS in the first place. Instead, you just put a link in the head of each page that would look something like this:

<link rel="stylesheet" href="style.css">

Chances are you'd have more than one stylesheet, like one for the grid, one for the actual styling, etc. As far as the last questions you have, Treehouse actually has courses that go over these things. Uploading the site using FTP, buying a domain, and all that business is done in the HTML course, I think. Responsive design is done in the CSS course. I would recommend you watch those first.