JavaScript and APIs

Learn about APIs and JavaScript, as well as how they fit into Jamstack.

JavaScript

The “J” in Jamstack is for “JavaScript.” JavaScript is a scripting and programming language that allows us to add interactivity to our web pages. With JavaScript, we can make our applications interactive and add a lot of functionalities to them. JavaScript combines with APIs to make dynamic Jamstack applications.

Adding JavaScript to a web page

Let’s take a look at a simple application that uses JavaScript to change some DOM properties and add dynamism to our HTML page.

Get hands-on with 1200+ tech skills courses.