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 trialMuhammad Sohaib
1,819 PointsEditing the code delete the older one
Hi , whenever i editing the code, the new code just replace the older one. Like adding some new text in fornt of older text. The new text just vanished the older one and i need to write the older one again. Thanks
1 Answer
Anna Casey
3,101 PointsYou may have hit the Insert key on your keyboard. This would cause the problem you are describing if you are simply typing in the new code. Another thing to check is that you haven't highlighted the code you are trying to edit before you begin typing. This would also cause you to loose what you have already written.
Muhammad Sohaib
1,819 PointsMuhammad Sohaib
1,819 PointsGot it! Thanks