Describe the difference between a cookie, sessionStorage and localStorage.
Sigiloso
localStorage and sessionStorage both store information on the browser, but localStorage data remains there beyond the browser session -- though both can be removed by the user at any point. Cookies also store information but are generally used for authentication purposes.