Reading JSON data and storing in localstorage

Look at the console debug display to see data.

Note that you need to be viewing the page through localhost for this to work as we are using fetch function.