Workshop 6: Exercise 3: Sessionstorage vs. localstorage

Back to Workshop 6 index

Exercise 3: Sessionstorage vs. localstorage

Compare sessionstorage and localstorage. Think of a few examples on where each should be used. Copy the form above here and implement sessionstorage for it. See what happens, when you close the browser. You can utilize developer tools to study the data (F12, select Application tab, then LocalStorage on the left).