Chapter 9. Web Programming: A Crash Course

This chapter contains a quick introduction to the various elements that make the Web work and the way they relate to JavaScript. The three chapters after this one are more practical and show some of the ways JavaScript can be used to inspect and change a web page.

The Internet

Basically, the Internet is a computer network spanning most of the world. A computer network makes it possible for computers to send each other messages. The techniques underlying networking are very interesting, but are not the subject of this book. All you have to know is that, typically, one computer, which we will call the server, is waiting for other computers to start talking to it. Once another computer, the client, opens communications ...

Get Eloquent JavaScript now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.