Clients, Servers and HTTP
What happens when you open a website
- You type
ddmacademy.comin the browser (the client). - DNS translates the domain into an IP address.
- The browser sends an HTTP request to the server.
- The server runs backend code, perhaps reads a database, and returns an HTTP response (HTML, JSON, images).
- The browser renders the page.
Frontend vs backend
- Frontend – what users see (HTML, CSS, JavaScript in the browser).
- Backend – server logic, databases, authentication, payments, emails.
HTTP methods
GETread data,POSTcreate,PUT/PATCHupdate,DELETEremove.
Status codes
200 OK,201 Created301redirect400 Bad Request,401 Unauthorized,403 Forbidden,404 Not Found500 Internal Server Error
Popular backend stacks
Node.js (JavaScript), PHP/Laravel (powers WordPress), Python/Django, Java/Spring, C#/.NET.
Exercise: Open your browser's DevTools → Network tab and reload a website. Note five requests: their method, status code and type.
Knowledge check
Lesson quiz
Enroll in the course to take the quiz and track your progress.
Enjoying this preview? Enroll to unlock every lesson and earn your certificate.
Enroll in this course