Open
Description
Right now, when users revisit a lesson, they have to validate their work again. To improve the experience, the system should remember their last submission result and display it automatically.
Flow
When a user reloads a lesson, the system will:
- Fetch the last submitted code from local storage.
- Automatically run the validate function to render the previous result.
- If no submission exists in codeData, the lesson will appear as it does currently.
Video for better Understanding:
https://github.com/user-attachments/assets/6f4d7433-1227-422c-b36d-70cc40625aff