Skip to content

JavaScript examples using local storage; sticky notes, shopping cart.

Notifications You must be signed in to change notification settings

mauricevancooten/local-storage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Local Storage

Basic

Create and read an item using local storage.

localStorage.setItem('sticky_0', 'Return book')
const sticky = localStorage.getItem('sticky_0')
console.log(sticky)

Stickies

Create stickies, read stickies and delete all stickies

Stickies Array

Create stickies, read stickies, delete all stickies and delete individual stickies.

Cart

Add items to cart, quantity, price, description. Remove items from cart.

Licence

Licensed under the MIT Licence

About

JavaScript examples using local storage; sticky notes, shopping cart.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published