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

HTML How to Make a Website Creating HTML Content Use the Navigation Element

lost my code on index.html

pressed delete one to many times is there any way to get it back,thanks

2 Answers

Stone Preston
Stone Preston
42,016 Points

you most likely cant get the code you wrote yourself back (you can try undo, but you probably already tried that), you can however download the project files for that video and just upload the index.html file thats in there to your workspace (download the project files, extract them, click and drag the html file from the extracted folder to your workspace)

thank you

ctrl-z or cmd-z are hotkeys for undo, if you haven't saved the changes to your file try one of these to see if the deletions can be undone.

thank you