Skip to content
This repository was archived by the owner on Oct 11, 2019. It is now read-only.

Latest commit

 

History

History
4 lines (4 loc) · 368 Bytes

readme.md

File metadata and controls

4 lines (4 loc) · 368 Bytes
  • localStorage: Stores data in the browser as long as the user hasn't decided to delete the data.
  • sessionStorage: Stores data as long as the window is open.
  • What HTMLElement.innerHTML actually does is, it replaces the entirety of HTMLElement.
  • Events naturally bubble up (visual: the DOM tree), to stop them from doing so we use: Event.preventDefault().