# Week 11 - WebStorage, Cookies, & S.P.A.
# Web Storage
When you want to save data in the browser to be used later in a website, we have a few options: localStorage
, sessionStorage
, and cookies
. localStorage
and sessionStorage
are collectively referred to as Web Storage
.
# Cookies
Cookies were hte original way to store data in the browser. They were limited in size and weren't easy to program. However, they are still a core technology for web sites.
# Single Page Applications (SPA)
Single Page Applications (SPA) are an approach to creating web apps where we use a single HTML file for the entire website. Then with the History API, JavaScript Event handling, CSS, and using the Fetch API we can dynamically update content and make a much more responsive experience for our users.
# TODO
TODO Before next week
- If you have not read all these notes and watched the videos from this week, do that first.
- Finish reading the notes for week 11 and watch all the videos in the notes for week 12.
Hybrid 11 - alert, prompt, confirm
due Monday this week.- Finish and submit the exercises
Exercise 19 - WebStorage
andExercise 20 - History
before 5pm on this Tuesday. - Finish and submit
Hybrid 12 - Modal
by next Monday.