Open ebiggerr opened 3 years ago
figuring to implement data persistence
figuring to implement data persistence
storing the array in localStorage. Deep copy and update the array when there is new coin added into the favourites or removed from favourites.
Refreshing the favourites page will clear the array of favourites. Causing the page to display nothing.