Web Development Practice
Sharpen your HTML, CSS, JavaScript, React, and deployment skills with 50 hands-on questions across 5 categories. Every answer comes with a short explanation that teaches the underlying concept.
Choose a Quiz Category
Visual Study Guides
Reference diagrams for the concepts that come up again and again.
HTTP Request Lifecycle
DNS Lookup
Browser asks a DNS resolver to translate the domain into an IP address.
TCP / TLS Handshake
Client and server establish a connection and negotiate encryption (HTTPS).
HTTP Request
Browser sends method, path, headers, and optional body to the server.
Server Processing
App routes the request, runs business logic, queries the database, builds a response.
Response & Render
Server returns status, headers, and body. Browser parses HTML, fetches assets, and paints.
CSS Box Model
Content
The actual text, image, or child elements. Width/height set its size with box-sizing: content-box.
Padding
Transparent space INSIDE the border. Backgrounds extend across padding.
Border
The visible edge of the box. Has width, style, and color.
Margin
Transparent space OUTSIDE the border. Pushes neighboring elements away. Vertical margins collapse.
* { box-sizing: border-box; } so width/height includes padding and border — much easier to reason about.React Component Tree
App
Root component — holds providers, routing, and global layout.
Header
Logo, navigation links, user menu.
Main
Page content area — child components vary by route.
ProductList
Fetches products, maps over them, renders ProductCards with stable keys.
ProductCard
Receives a product prop. Pure presentational — no fetching.
Footer
Site links, copyright, social icons.
Common HTTP Status Codes
OK
Successful GET, PUT, or PATCH.
Created
POST succeeded — new resource exists.
Moved Permanently
Resource lives at a new URL forever.
Bad Request
Client sent malformed input.
Unauthorized
Authentication required or invalid.
Forbidden
Authenticated, but not allowed.
Not Found
Server has no resource at that path.
Internal Server Error
Unhandled exception on the server.
Service Unavailable
Server overloaded or under maintenance.
WebsiteDown.io
Free ToolQuickly check if any website is down — handy when debugging APIs and third-party integrations. Is it your code, or is the upstream service actually offline?
Open WebsiteDown.ioWeb Dev Study Tips
Build, don't just read
Every concept sticks 10x better when you ship a small project that uses it. Even 30 lines counts.
Read the docs
MDN for HTML/CSS/JS, the React docs, and the Node docs. They're authoritative and surprisingly readable.
Use DevTools daily
Inspect elements, set breakpoints in Sources, watch the Network tab, profile with Performance.
Learn Git early
Branching, merging, and pull requests are non-negotiable in any real codebase. Practice with a side project.
Ship small, ship often
Deploy to Vercel, Netlify, or Cloudflare Pages from day one. A live URL keeps you motivated.
Read other people's code
Open-source repos and GitHub PRs reveal patterns no tutorial covers. Pick one library you use and skim its source.
Continue learning
Module 7: Full-Stack Web Dev
Start with HTTP & REST fundamentals
Browse
All coding lessons
Modules across Python, JS, C++, Java, and more