This documentation is being written.
Web Cookbook

01. Vanilla Web Development

Building a solid foundation with the Browser, HTML, CSS, and JavaScript.

Chapter Goals

Modern front-end development is filled with various libraries and frameworks. While they offer many helpful features, they all eventually boil down to the same core: HTML, CSS, and JavaScript, which are parsed and run by the Browser.

The goal of this chapter is to help you build a stable mental model of how the web works by mastering the core languages and understanding the browser environment before introducing complex frameworks.


Learning Resources

🌐 The Browser: How the Web Works

Before writing code, understand how the browser receives, parses, and renders a web page.

  • web.dev: How Browsers Work ⭐⭐⭐⭐⭐
    Why: An excellent series from the Chrome team. It explains the "inner workings" of a browser, from the network request to the final pixels on the screen.
  • MDN: How the Web Works ⭐⭐⭐⭐
    Why: A simple, high-level overview of servers, clients, and HTTP. Essential for understanding the "big picture."

πŸ—οΈ HTML: Structure & Semantics

Learn how to build a meaningful and accessible skeleton for your content.

  • web.dev: Learn HTML ⭐⭐⭐⭐⭐
    Why: Modern, bite-sized lessons. It focuses on writing "Semantic HTML" which is crucial for SEO and accessibility.
  • MDN: HTML First Steps ⭐⭐⭐⭐
    Why: A structured guide that explains document metadata, headings, and lists in a very clear way.

🎨 CSS: Styling & Modern Layout

Master the art of positioning elements using native Flexbox and Grid.

  • web.dev: Learn CSS ⭐⭐⭐⭐⭐
    Why: Highly visual explanations of the Box Model and Selectors.
  • Flexbox Froggy ⭐⭐⭐⭐⭐
    Why: A fun game to master Flexbox alignment and justification.
  • Grid Garden ⭐⭐⭐⭐⭐
    Why: An interactive game to understand the power of CSS Grid tracks and areas.
  • A Complete Guide to Flexbox (CSS-Tricks) ⭐⭐⭐⭐
    Why: The world’s favorite visual "cheat sheet" for Flexbox.

πŸ’» JavaScript: Logic & The Language

Focus on the programming logic first, then how it controls the browser (DOM).

  • The Modern JavaScript Tutorial ⭐⭐⭐⭐⭐
    Why: The gold standard for learning the language. Start with Part 1: The JavaScript Language.
  • Exercism: JavaScript Track ⭐⭐⭐⭐
    Why: Solve small coding puzzles to build "muscle memory" for functions, loops, and data logic.

Learning Objectives

  1. The Rendering Path: Understand how a browser turns HTML/CSS/JS into a visual page.
  2. Semantic Structure: Use correct HTML tags to create a clean, accessible document.
  3. Responsive Layout: Build multi-column layouts using Flexbox and Grid without any external libraries.
  4. JavaScript Logic: Master the core syntax of JS and understand how it interacts with the DOM.
  5. Final Goal: Create a native static page that is lightweight, fast, and works in any modern browser.

On this page