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
Martha Diaz
474 PointsLinks
I am using Windows - Sublime Text 2 - Chrome, and instructor is using Mac - and another editing program. When I attempt to create a link to a second page by using this tag:
<a href="another_page.html">My Link</a>
and I press the "My Link" it sends me to a page that shows up as an error.
Question: Am I simply not saving pages correctly?
2 Answers
Martha Diaz
474 PointsNo. It is not. Does it have to be in order for it to work?
andi mitre
Treehouse Guest Teacheryes, to go up by a directory enter a slash before the another_page.html like "/another_page.html" if not there specify the filepath
Martha Diaz
474 Pointsokay - thanks
andi mitre
Treehouse Guest Teacherandi mitre
Treehouse Guest TeacherIs another_page.html in the same directory?