Project Details
Write a script that automatically saves a user's form inputs as they type and reloads them into the form when they come back to the page. Clear the saved data when the form is submitted.
Considerations
- Does each field need to be it's own entry in
localStorage
or can they all be saved as one item? - Should certain fields be excluded?
- How can you structure the script so that you can add new fields without having to change your code?
Need help?
This project is part of the Browser Storage pocket guide and video course.