djbowen95 / Hit-the-Bucket

Front-end BUCKET LIST application built with REACT. Users can add, update or delete items from a bucket list - which persists when they refresh or revisit the page. Uses STATE, HOOKS, COMPONENTS, PROPS, conditional rendering, forms and event handling. Built from starter code.
https://djbowen95.github.io/Hit-the-Bucket/
MIT License
0 stars 0 forks source link

Button to delete everything added to the bucket, restore default values #25

Open djbowen95 opened 1 year ago

djbowen95 commented 1 year ago

This isn't essential at all - but when I was manually testing the code, I found it useful to run: localStorage.removeItem("bucket");

In order to reset the bucket / restore the default values, rather than the custom values I'd added.

I think that this would be a nice feature to have in the finished version / first release of the project - so users can easily do a hard reset if they'd like to, as well.

To solve this issue, I would need to: