2 Setting Up Your First Project
When you visit a website, your browser has a conversation with a server, another computer on the internet.
Browser: “Hey there! Can I please have the contents of the file named cat-videos.html?”
Server: “Certainly. Let me take a look around … here it is!”
Browser: “Ah, it’s telling me that I need another file named styles.css.”
Server: “Sure thing. Let me take a look around … here it is!”
Browser: “OK, that file says that I need another file named animated-background.gif.”
Server: “No problem. Let me take a look around … here it is!”
That conversation goes on for some time, sometimes lasting thousands of milliseconds (Figure 2.1).
Figure 2.1 The browser sends a request, the server ...