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 trial



Hi!! I hope to find you all well. I had a quick question about the stylesheet. I know this is linked directly to the index.html or home page, however, if in my website I develop multiple links from the homepage to other pages within the website how will the CSS or stylesheet interact with this other pages? Do I have to link the stylesheet to every other page I do? I am opting to link different pages that can reidrect the user with the help of the Nav bar but I am not sure about the CSS. Any response is highly appreciated!! Thanks in advance!

2 Answers

Kevin Korte
Kevin Korte
28,148 Points

Yes every new page will need a stylesheet. You can make one site-wide stylesheet, and link that same file over on all the pages. Any unused styles in that stylesheet that are unused on that page will just simply be ignored by the browser.


Thank you so much!