Skip to Content
HTML, CSS, & JavaScript All-in-One For Dummies
book

HTML, CSS, & JavaScript All-in-One For Dummies

by Paul McFedries
August 2023
Beginner content levelBeginner
848 pages
18h 49m
English
For Dummies
Content preview from HTML, CSS, & JavaScript All-in-One For Dummies

Chapter 9

Storing User Data in the Browser

IN THIS CHAPTER

Bullet Getting the hang of the Web Storage API

Bullet Taking your first look at JSON

Bullet Adding stuff to storage

Bullet Getting stuff from storage

Bullet Removing stuff from storage

Data is like garbage. You’d better know what you are going to do with it before you collect it.

—MARK TWAIN (ATTRIBUTED)

One of the hallmarks of a bigtime website is that most of what you as a site visitor see is data that has been retrieved from a server. That data has been created and managed by a database specialist, and the code that asks for the required data and then returns that data to the web browser is created by a back-end web developer.

Alas, back-end coding is beyond the purview of this book (but it’s a big part of my companion book Web Coding and Development All-in-One For Dummies [Wiley]). This book is all about front-end web development, but does that mean you’re out of luck when it comes to working with data?

For example, suppose your web page enables each user ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

HTML & CSS: Design and Build Websites

HTML & CSS: Design and Build Websites

Jon Duckett
Head First HTML and CSS, 2nd Edition

Head First HTML and CSS, 2nd Edition

Elisabeth Robson, Eric Freeman

Publisher Resources

ISBN: 9781394164684Purchase Link