 Hi everyone. In this tutorial, we're going to talk about the history object in JavaScript. The history object tracks the pages that were loaded in a window. I'm going to open a few pages in this window, for example, Bing.com, Yahoo.com, and I don't know, maybe YouTube.com. I'm going to show you how you can work with the history object and its methods and properties. I'm going to open a console. If you want to see how many pages you have in history on this web page, you need to use length property. As a result, we will get number 3 because we have in our history on this page 3 websites, Bing.com, Yahoo.com, and YouTube.com. Suppose that I want to go back to the website Yahoo.com in this case. I can do that also by using history object and by calling back method. And similarly, if I want to click to this button right here to go forward, I could also use to provide that history object and I'm going to call forward method. And now I'm going to forward to YouTube.com. Also, we have a Go function. With this Go function, we can go through the history of our current web page. For example, if I want to go two pages back in the history, I'm going to use minus 2 because minus will tell to this object that we want to go back to the history. And let's open this page. So two pages back from the history is website Bing.com. And similarly, if we want to go one or two pages forward, we're going to use the exact same method Go, but with positive arguments, with positive arguments, we're going forward through the history. And with negative numbers, we're going back to this page history. Okay, I'm going to go back to the YouTube two pages forward from the website Bing.com. That's all for now in this tutorial. Thanks for watching. Don't forget to subscribe to my channel. See you in the next tutorial. Happy coding.