Week 14: demo

sessionStorage



sessionStorage is a special object within JavaScript that allows you to store variables inside of the users browser in a way that allows them to persist across pages. However, unlike localStorage, the variables are not retained after the browser has been closed. This is good for only retaining data that is useful within a single session (or visit) of a website.

Resources