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

peter osullivan
1,779 Pointswhat sets the site to open on the index page?
Hi
I have completed the opening How to Make a Website course and everything is working great,
when i open the site in the preview it opens on the index page.
what part of the code determines what page opens first?
I would like to create an opening page which appears once when the site is launched then the user can navigate away using the existing li elements on the top right
3 Answers

RAFAEL COSTA
6,243 PointsPetter, much servers, if fact almost all of them, sets the Index page as the default page. If you want to change it in a fast way you just need to rename your index page to "portfolio", for example, and then create your own index page. Don't forget to make corrections on your nav menu. ;)

peter osullivan
1,779 Pointsthanks Rafael, updated as suggested and it worked great :) thanks again

RAFAEL COSTA
6,243 PointsBe welcome Peter!