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 trialArikaturika Tumojenko
8,897 PointsIs the workspace overwriting the code we write?
I just noticed that the code I found inside my files for this specific video it's different from the one I originally wrote in the previous videos/ workspaces.
Does this mean that the workspace is overwriting what the students are typing? If so, why? Maybe I chose to use different names for my variables or write the code in a different manner and now it's all lost.
1 Answer
Jennifer Nordell
Treehouse TeacherHi there! It shouldn't be unless a new workspace is generated. Have you tried clicking on the "Workspaces" link at the top of this page? My guess is that you'll find a PHP workspace very similar to the one you see now except that it will contain your code. Many times a new workspace is generated so that everyone is at the same place with the same variables. My suggestion is to look through your older workspaces and see if you can find it there.
Hope this helps!
Arikaturika Tumojenko
8,897 PointsArikaturika Tumojenko
8,897 PointsOh, ok. I got it. For the other tracks the Workspace didn't have a new code for every video so I guess that's the case here. Thank you.