 Hi everyone, in this tutorial, we're going to talk about local storage and session storage in JavaScript language. Suppose that you want to store some data on a client's machine. You can do that by using cookies or local storage or session storage. With local and session storage, you can store data locally within the user's browser. It's better to use local storage and session storage than cookies, because with them you can store more data on client's machine. The amount of data that you can save on client's machine is about 5 megabytes. Local storage and session storage are almost the same. The only difference between them is the duration that the data is available. If you have some data inside local storage, after closing browser, all this data is going to be cleared. But on contrary, if you have some data inside session storage, even if you close your browser, that data still remains inside that storage. So browser closing, don't clear session storage, it's only clear local storage. Now I'm going to give you a few examples. How can you work with local and session storage is how you can store data on client's machine. First, let's create a variable. You can create a variable with any name. I'm going to call it, for example, Nevsky Storage. And I'm going to put this value inside session storage. So I'm going to say that this variable is in the session storage. Or you can also choose local storage. And now if we want to set some data inside local storage, we're going to use setItemMethod. I'm going to call my variable NevskyStorage and I'm going to use method setItem. And inside this method, we're going to have arguments. First argument is going to be key and second is going to be value. For example, I'm going to use key value country and value name, for example, Germany. So now we have here this information stored within the client's browser. And we can check that by using getItemMethod. And inside it as an argument, I'm going to put a key, this key of our item is country. So I'm going to get this item with key country. In our case, that's Germany. Then also you can remove this item by using removeItemMethod. I'm going to provide inside it as an argument key value, okay. And finally, if you want to delete this variable and its values from local storage, you can use clear method, for example, NevskyStorage.clear. And that was the little intro how you can use local or session storage to store any data on client's machine and then to use that data in the way that you want to use. That's all in this tutorial. See you in the next tutorial.