Here's what I have so far. I have included the 'window.location.hash', so it displays each individual page on the URL. If you try refreshing after navigation, it will always refer back to page one. This is where I have trouble the most.
Could you elaborate more on setting & testing localStorage for those functions?