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 trialKord Monaco
3,443 PointsWorkspace not working after deleting code by accident
I accidentally deleted the index.html file on workspace and now preview gives me the message displayed below. I tried to recreate the code that was in there but was not successful. I am new to programming so I'm sure it is something I have messed up.
Index of /
[ICO] Name Last modified Size Description
[DIR] css/ 2020-10-23 21:11 -
[DIR] js/ 2020-10-23 20:46 -
[ ] script.js 2020-10-23 21:11 151
Apache/2.4.18 (Ubuntu) Server at port-80-2ejuhu7vr3.treehouse-app.com Port 80
2 Answers
Nathan Stahlman
Full Stack JavaScript Techdegree Graduate 18,351 PointsYou could delete the workspace and start with a fresh one. Or you could download the project files and copy/paste the data from the index.html to your workspace.
Kord Monaco
3,443 PointsThank you for the quick response. I found out how to delete the workspace and start a new one. I need to get used to all different kinds of editors and programs.
Nathan Stahlman
Full Stack JavaScript Techdegree Graduate 18,351 PointsNo worries! Glad you got it figured out!