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