1. What cookies and localStorage are
Cookies are small files a website stores in your browser. localStorage and sessionStorage are browser stores that work in a similar way but are not sent automatically with every request. We use them to make the interface work and to remember your choice.