JSON (JavaScript Object Notation) is a format to represent data, even though it has JavaScript in its name, it is language independent.
JSON is simply a collection of name/value pairs, In this blog post, we will focus on JSON in JavaScript.
JSON (JavaScript Object Notation) is a format to represent data, even though it has JavaScript in its name, it is language independent.
JSON is simply a collection of name/value pairs, In this blog post, we will focus on JSON in JavaScript.
Express.Js is a popular node js framework which makes developing API’s a breeze.
The finally method of a Promise allows you to execute code after a promise has been settled. If the promise succeeds or fails the finally method is called. This is useful if you want to run some code regardless of the outcome of the promise. The promise finally method is similar to the finally method in a try catch finally block.
In a previous blog post, we introduced the Intersection Observer API , which is used to asynchronously tell us when an element intersects with another. In this post, we will show just how easy it is to add infinite scrolling to dynamically load more content to when the user scrolls to the bottom of the page. … Read more
Previously we had a small introduction on Promises which are used in asynchronous events and getting data after an event occurs, Async Await is a JavaScript API that allows you to write asynchronous code in a synchronous manner so that your code is easier to read and debug.
Async Await is just different syntax for using Promises, they use promises in the background. Most browsers support Async Await, you can get the full list here.
The Page Visibility API tells you if the current page is visible or not and also informs you when the page becomes hidden or visible. This API is supported in almost all browsers, you can find the full list here. Uses Before we go into the details of the API, it is helpful to know why … Read more
One of the newer browser features is the Picture-in-Picture API which allows you to play your video in a small re-sizable, movable overlay video element so that you can continue to watch your video even after you change tabs or minimize the tab containing the video.
Web apps can store data locally within the user’s browser instead of storing data in cookies. LocalStorage is per origin so all pages from an origin can store and access the same data.
The Intersection Observer API allows us to asynchronously check whether an element is visible or to observe changes in the intersection of a target element with an ancestor element.
The Fetch API is the much simpler alternative to the XMLHttpRequest API . It is also the pure JavaScript alternative to JQuery’s ajax, get and post functions.