Push an object into array using for loop and saving it into lcoalstorage

Not really sure about the symbol you’ve used, but I assume it’s an empty array

let accountlist = [];

This means that your loop will never run.

Also please take a look on how to format code so it will be easier for people to read and help

As well as welcome to the forum :sparkles: