Skip to content
Justice Tech School

Web StoragePremium

localStorage keeps text in the browser even after it closes. sessionStorage lasts until the tab closes. Both store strings only, so use JSON.stringify and JSON.parse for objects.

This is a Premium lesson

All the basic lessons are free. Advanced and in-depth lessons, with every example, exercise and quiz, are included with a Premium subscription.

These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.