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 ofHTMLElement
. - Events naturally bubble up (visual: the DOM tree), to stop them from doing so we use:
Event.preventDefault()
.
This repository was archived by the owner on Oct 11, 2019. It is now read-only.