In this article, we will learn about JavaScript Closures. JavaScript variable’s scope can be global or local. A global variable can be accessed and manipulated anywhere in the program, while the…
JavaScript Event Propagation is a mechanism that defines how events propagate or travel through the DOM tree to arrive at its target and what happens to it afterward. For example,…
The JavaScript event listeners are simply like event handlers, except that you can assign as many event listeners as you want on an event on a certain element. For you…
Last time you learned how to work with math operators in JavaScript. Now let’s look at JavaScript Type Conversions. Automatic Type Conversions In JavaScript JavaScript is awesome because most of…
Simply, the JavaScript Math object provides several useful properties and methods for performing mathematical tasks like generating random numbers, rounding numbers, obtaining values such as PI, and performing calculations, etc.…
Last time we talked about JavaScript timers. And now you will learn how to work with JavaScript Date And Time. As you may know, the Date object is a built-in…
What are JavaScript timers? A timer is a function that lets you execute a function at a particular time. By using timers you can delay the execution of code so…
What is JavaScript Window Navigator? The navigator property is a read-only property that contains information about the user’s browser. You can access it by either full address or for example window.navigator.language…
Last time we covered JavaScript Window Location and now let’s continue by learning about JavaScript Window History. The JavaScript History Object The history object contains the browser session history –…
The location property of a window is a reference to a Location object which represents the current URL of the document being displayed in that window. Since the window object…