Joe Attardi

Web API Cookbook

by Joe Attardi

Your comprehensive guide to modern web APIs and browser capabilities. Master the tools you need to build powerful web applications.

Web API Cookbook book cover

What Readers Are Saying

“Web API Cookbook covers a wide range of browser-based APIs and provides valuable examples for all skill levels. Plus, Joe's writing style and thoughtful explanations make the learning enjoyable. This is a must-read for web developers!”
— Sarah Shook, Software developer/owner, Shook LLC
“This book offered fresh insights and introduced me to APIs I never knew existed.”
— Bret Little, Staff Software Engineer, Shopify

What You'll Learn

Chapter 1

Asynchronous APIs

Explore fundamental asynchronous JavaScript concepts, including callback functions and Promises.

Chapter 2

Simple Persistence with the Web Storage API

Store and retrieve data using persistent storage.

Chapter 3

URLs and Routing

Work with the URL and History APIs.

Chapter 4

Network Requests

Communicate with remote servers and APIs.

Chapter 5

IndexedDB

Learn how to use IndexedDB to store and retrieve large amounts of structured data.

Chapter 6

Observing the DOM

Explore how to observe changes in the DOM using MutationObserver, IntersectionObserver, and ResizeObserver.

Chapter 7

Forms

Discover how to handle form submissions and input validation using the FormData and Constraint Validation API.

Chapter 8

The Web Animations API

Learn how to create and control animations using the Web Animations API.

Chapter 9

The Web Speech API

Discover how to add speech recognition and synthesis capabilities to web applications.

Chapter 10

Working With Files

Learn how to handle file uploads and downloads using the File API.

Chapter 11

Internationalization

Explore how to create internationalized web applications that can be easily localized.

Chapter 12

Web Components

Discover how to create reusable custom elements using the Web Components API.

Chapter 13

UI Elements

Use dialogs and other interactive elements.

Chapter 14

Device Integration

Interact with sensors and services on your device.

Chapter 15

Measuring Performance

Capture performance metrics.

Chapter 16

Working With the Console

Learn about different ways to present information using the Console API.

Chapter 17

CSS

Explore CSS related APIs.

Chapter 18

Media

Work with images and video.

Ready to Master Web APIs?

Get your copy today and start building better web applications.