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 trialGeorge Coleman
839 PointsUsing Sublime text 2 with this project
I'm trying to create the "Go Back" link in this project but the <a href="../index.html">Go Back<a> isn't working. When I save changes it creates a duplicate file outside of the my_directory folder. Any ideas on what I'm doing wrong? Thanks
4 Answers
Caroline Hagan
12,612 PointsAre you sure you are working on the right file? It usually tells you the path at the top of the Sublime screen :
Thomas Jones
1,951 PointsI was just having the same problem. When you initially saved the another_page.html file, you were putting it in the same folder as your index.html file. After you moved another_page.html into the my_directory folder, your text editor is still set to ctrl+s your another_page.html in the same folder as your index.html. File>Save As> and put your new destination as inside your my_directory folder and your issue should be resolved.
Thomas Jones
1,951 PointsI was just having the same problem. When you initially saved the another_page.html file, you were putting it in the same folder as your index.html file. After you moved another_page.html into the my_directory folder, your text editor is still set to ctrl+s your another_page.html in the same folder as your index.html. File>Save As> and put your new destination as inside your my_directory folder and your issue should be resolved.
George Coleman
839 PointsThanks Thomas
Thomas Jones
1,951 PointsNo problem. Thank you as well. If you hadn't indicated that it kept creating a file in the original directory I would have been stumped for a lot longer I think. You were half of the solution! :D