Reputation: 448
I've gotten far in my simple code, considering I'm barely scathing intermediate JavaScript.
However, I'm working with localStorage for the first time, and all is well, except for the fact that it remembers where I drag the div in my array of Widgets at [0], but anything after [0] isn't remembered.
I Doubt JSFiddle will work with localStorage
. I hope you can figure out where I made my mistake.
Also, any improvements in efficiency, (don't know any jQuery) are nice to know, but pure JavaScript for now is ideal.
Thank you! Any and all help is very much appreciated!
Upvotes: 0
Views: 108
Reputation: 448
Had some mistakes in the way I accessed the array by attempting to use a string.
Check for changes in:
loadLocalStorage();
Upvotes: 1