Module 15 ¡ Forms, Storage and Small Apps
When to Use localStorage, sessionStorage, a Server, or a Timestamp
Free with an accountReading
Kenji has built three apps from Lesson 03, and now the questions are about choices. A student asks why her notes are missing on her phone. A teacher wants the timer's settings to follow her from the lab to her laptop. A parent sorts saved exam dates and gets them in a strange order. None of these is a bug in a line of code. Each is the wrong place, or the wrong shape, for the data.
Checking what this lesson needs for youâĻ
What is inside When to Use localStorage, sessionStorage, a Server, or a Timestamp
- localStorage or a server
- sessionStorage or localStorage
- Storage or a cookie
- When IndexedDB earns its cost
- A Date or a timestamp number
- Dates as text: which shape to store
- Validation: the browser, your script, the server
- The comparison table