Don't worry about how it got to be like this, but this is how my localstorage looks:
This is how it should look:
this is how my loop looks:
for(let i=0;i<localStorage.length;i++){
//I do something cool
}
Now imagine that the same numbering error is happening to say 15 values. How can I change either the key column in localstorage so that it starts at 0 and indents by 1 for every value, or my loop so that it runs from the first key to the last key.