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.
- Does each field need to be it's own entry in
localStorageor 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?
This project is part of the Browser Storage pocket guide and video course.