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
- 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
- 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
- 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
- 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
- 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?
- kb/backend/ โ Building the APIs that frontend communicates with
- kb/runtime/ โ How the JavaScript engine executes code
- kb/frontend/ โ This project's specific frontend patterns
๐ Change Log
2026-08-29
- Created web/ directory scaffold
- Defined 5-phase learning path
- Links to project-specific frontend patterns (TanStack Router, Tailwind)