mauricevancooten / local-storage

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.


Languages

Language:JavaScript 58.4%Language:HTML 28.0%Language:CSS 13.6%