Web โ€” Web Development Fundamentals

Status: Active Last Updated: 2026-08-29 Category: Web Development Prerequisites: kb/basics/ โ€” Linux fundamentals, command-line basics Tags: html, css, javascript, web, dom, http, browser, fetch, axios

Summary

Web development fundamentals for anyone who will build or debug browser-based applications. Covers how the web works (HTTP, browsers, DOM), core technologies (HTML, CSS, JavaScript in the browser), and how frontend and backend communicate (fetch, REST, GraphQL).

๐ŸŽฏ Learning Philosophy

How the Web Fits Together:

Browser โ†’ HTTP Request โ†’ Backend Server
     โ† HTTP Response โ†
     โ†“
DOM + CSS โ†’ Rendered Page
     โ†“
User interaction โ†’ JavaScript โ†’ fetch() โ†’ Backend

๐Ÿ“š Learning Path

Prerequisites: kb/basics/
         โ†“
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  PHASE 1: How the Web Works            โ”‚
โ”‚  โ”œโ”€ DNS, HTTP request/response          โ”‚
โ”‚  โ”œโ”€ Browser rendering pipeline          โ”‚
โ”‚  โ”œโ”€ Same-origin policy, CORS            โ”‚
โ”‚  โ””โ”€ HTTPS fundamentals                  โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
         โ†“
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  PHASE 2: HTML & the DOM               โ”‚
โ”‚  โ”œโ”€ HTML elements and semantics         โ”‚
โ”‚  โ”œโ”€ DOM tree and node types             โ”‚
โ”‚  โ”œโ”€ Accessibility (a11y) basics         โ”‚
โ”‚  โ””โ”€ Forms and validation               โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
         โ†“
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  PHASE 3: CSS Fundamentals             โ”‚
โ”‚  โ”œโ”€ Selectors, specificity, cascade      โ”‚
โ”‚  โ”œโ”€ Box model, layout (Flex, Grid)      โ”‚
โ”‚  โ”œโ”€ Responsive design, media queries     โ”‚
โ”‚  โ””โ”€ CSS custom properties              โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
         โ†“
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  PHASE 4: Browser JavaScript           โ”‚
โ”‚  โ”œโ”€ DOM manipulation                   โ”‚
โ”‚  โ”œโ”€ Events (click, submit, keyboard)    โ”‚
โ”‚  โ”œโ”€ fetch() and async/await            โ”‚
โ”‚  โ””โ”€ Local storage, cookies              โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
         โ†“
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  PHASE 5: Frontend Tooling             โ”‚
โ”‚  โ”œโ”€ Vite and build tools               โ”‚
โ”‚  โ”œโ”€ Tailwind CSS basics                โ”‚
โ”‚  โ”œโ”€ TanStack Router (this project's SPA)โ”‚
โ”‚  โ””โ”€ DevTools debugging                 โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

๐Ÿ“– Articles in This Directory

๐ŸŸข Phase 1: How the Web Works

  1. web-basics โ€” How browsers and servers communicate
    • DNS resolution, HTTP/1.1, HTTP/2
    • Browser rendering: HTML โ†’ DOM โ†’ CSSOM โ†’ Render tree โ†’ Layout โ†’ Paint
    • Same-origin policy, CORS headers
    • HTTPS and TLS handshake
    • Prerequisites: None
    • Time: 2-3 hours

๐ŸŸก Phase 2: HTML & the DOM

  1. html-dom โ€” HTML structure and the DOM
    • Semantic HTML5 elements (article, section, nav, header, footer)
    • DOM tree: elements, text nodes, attributes
    • Accessibility: ARIA labels, keyboard navigation
    • Forms: inputs, validation, submit behavior
    • Prerequisites: Web basics
    • Time: 2-3 hours

๐ŸŸก Phase 3: CSS Fundamentals

  1. css-basics โ€” Styling for the web
    • Selectors (class, ID, attribute, pseudo)
    • Specificity and cascade
    • Box model: margin, border, padding, content
    • Flexbox and CSS Grid layouts
    • Responsive design: media queries, mobile-first
    • CSS custom properties (variables)
    • Prerequisites: HTML basics
    • Time: 3-4 hours

๐ŸŸ  Phase 4: Browser JavaScript

  1. browser-javascript โ€” JavaScript outside Node/Bun
    • DOM selection and manipulation (querySelector, createElement)
    • Event listeners and event delegation
    • fetch() API: GET, POST, headers, error handling
    • Async/await in the browser
    • localStorage, sessionStorage, cookies
    • Prerequisites: JavaScript/TypeScript basics
    • Time: 3-4 hours

๐Ÿ”ด Phase 5: Frontend Tooling

  1. frontend-tooling โ€” The modern web build pipeline
    • Vite: dev server, HMR, production builds
    • Tailwind CSS: utility-first styling
    • TanStack Router: SPA routing (this project's approach)
    • Chrome DevTools: Elements, Network, Console, Sources
    • Prerequisites: HTML, CSS, Browser JS
    • Time: 2-3 hours

๐Ÿ”— What Comes Next?

๐Ÿ“ Change Log

2026-08-29

Choose Theme

Your selection is saved locally.

Neural Cacophony
Aperture v2
Flux v1
Mosaic Chaos
Nexus v1
Nexus Zest
Prism v2
Synapse