You can reset code for individual exercises within a lesson, and progress and code for an entire course.
To reset your progress on an entire course click the "Reset Progress" button, found on the course's home page. This will delete all existing code and reset your progress back to 0%:
To reset code on an individual exercise, click the 'Reset Exercise' button, found within the learning environment under the workspace. This will reset all existing code on that exercise:
Note* You cannot reset Pro Paths or Codecademy Pro Intensives. A reset of the learning environment is usually not advised because we worry about your hard work being erased permanently. The best way to start again with as little progress as possible with projects and lessons is to reset every exercise from within the learning environment as mentioned above.
This is a little tedious of a process, so thank you for bearing with us on this.