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 Structure the Image Gallery

Daniel Hildreth
Daniel Hildreth
16,170 Points

I deleted my index.html file when uploading pictures during navigation element. Do I need to manually re-code it again?

I accidentally deleted my index.html file while I was uploading the image files for the navigation element. Is there a way I can get like a written part of this video that way I don't have to manually re-code it all again? I can modify the text and all within it, but is there like a manuscript or something written with the code so I don't have to spend all that time re-coding it again?

Daniel Hildreth
Daniel Hildreth
16,170 Points

Yes I realized that if I just watched a later video I can easily re-enter the code without re-watching it all. And yes, I could've hit CTRL+Z to undo it, however I had already gone back to the main page area hoping it didn't save the workspace that I deleted it. But thank you all for your help and answers, and I am back on to learning more coding for making a website.

3 Answers

Aaron HARPT
Aaron HARPT
19,845 Points

Try going to the next video and open up the workspace for that video. The code that you are looking for might be in there.

Hope that helps.

Next time try hitting ctrl and z. It works in the OS and in the text editor.

Echoing Aaron HARPT's answer, you should be able launch workspaces from a later video. You might need to also select to create a new workspace, and base it on the 'template' of a later video.