JavaScript Browser APIs

The first in a series on some of the lesser-known browser APIs that expose useful functionality to JavaScript.

Modern web browsers provide many interfaces that give super useful functionality to JavaScript. If you’ve written even a little bit of front-end JavaScript code in your life, then the chances are you’ve made use of at least one browser API.

Each article in this series will focus on one browser API, in the hope of pointing you to some under-used APIs that can make your life as a developer easier, or inspire you to add cool functionality to your next web project.

This article is about the Intersection Observer.

Historically, if we wanted to detect when an element had been…

Nick Turner

Full-Stack JavaScript Engineer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store