Your college's admission page opens on your phone in about two seconds. There is a blue heading, a notice board with the dates, and an Apply button. You tap it, and a form slides open without the page so much as blinking. Somewhere in those two seconds, something took a few kilobytes of plain text, a pile of tags, and turned it into the picture on your screen. Then, when you tapped, something changed that picture while you were looking at it.
What is that something? It is not the server: the server only sent text, and it has no idea how big your screen is. It is not the website either. It is the browser, and this chapter opens it up. We will watch it read a page, build it, paint it and let a script change it. Before that we step back and ask what kind of thing a website is in the first place: a folder of files, a program that cooks every page to order, or a notice board that an office clerk edits from a dashboard?
By the end you will be able to place any website on that map (static, dynamic, content-managed, a shop), say who writes the rules the Web runs on, and tell a browser from a search engine from a server. You will describe what a browser does with a page, step by step, name the engines inside Chrome, Firefox and Safari, read a user-agent string, say what private browsing hides and what it does not, and find your way around the developer tools. And you will be able to write the short pieces of JavaScript that the papers ask for: find an element, change it, react to a click, check a form.