7 Using Web APIs
Browsers provide you with various interfaces that you can control through a program, that is, via JavaScript. In this chapter, I’ll describe several of these so-called web Application Programming Interfaces (APIs) that can be controlled via JavaScript and which can be used to make web pages even more interactive and professional.
This chapter consists of three parts: The first part is about the Document Object Model (DOM) API, which I already briefly touched on in Chapter 4 and which you can use to access individual elements of an Hypertext Markup language (HTML) document (or web page), add new elements, modify or delete existing elements, and much more. An understanding of the DOM API is an important requirement for any web ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access