You are previewing Eloquent JavaScript.

Eloquent JavaScript

Cover of Eloquent JavaScript by Marijn Haverbeke Published by No Starch Press

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 ...

The best content for your career. Discover unlimited learning on demand for around $1/day.