← Lesson
BitWithBite
Full-Stack · Quick Reference

Lesson 1 — How the Web Works Cheat Sheet

Full-Stack
In one line: Your browser (client) asks a server for a resource over HTTP; DNS translates the domain name into the server's IP address first.

Key Ideas

1Client. The browser — sends requests, renders responses.
2Server. A computer that listens for requests and sends back responses.
3DNS. Translates a domain name (bitwithbite.com) into an IP address.
4HTTP. The protocol defining how requests and responses are formatted.
5Status codes. 200 OK, 301 Redirect, 404 Not Found, 500 Server Error.

HTTP Methods

GET
Retrieve a resource
POST
Create a new resource
PUT / PATCH
Update an existing resource
DELETE
Remove a resource
Request → DNS lookup → TCP connection → HTTP request → Server processes → HTTP response → Browser renders