What happens when is a large collaborative documentation-style project that aims to answer in exhaustive detail the canonical interview/thought experiment question, “What happens when you type google into your browser and press Enter?” Rather than giving a high-level overview, the repository tries to break down every step in the process, from low-level events (keyboard press, OS events, keyboard interrupts), through OS-level handling (keyboard scan codes, key events), parsing, DNS lookup, networking (ARP, socket creation, TCP/TLS handshake), HTTP requests, browser behavior, HTML/CSS/JS parsing, rendering engine, GPU rendering, layout, to final drawing and user-visible output. The goal is to serve as a comprehensive resource for students and engineers to understand what happens under the hood, bridging from hardware and OS level up through network and application layers.

Features

  • Deep, step-by-step breakdown of what happens when you enter a URL and press Enter (keyboard → OS → network → browser → rendering)
  • Covers low-level OS/hardware events (key press, interrupt handling), network protocols (DNS, socket, TLS, HTTP), browser internals (parsing, rendering, layout, GPU, DOM, JS execution)
  • Multi-language README — available in multiple human languages (English, simplified Chinese, Japanese, Korean, Spanish) to reach diverse developers
  • Collaborative and community-driven: open for contributions to fill missing steps, correct details, expand explanations
  • Licensed under Creative Commons Zero (CC0), making it free to reuse and redistribute without restrictions
  • Serves as educational resource — useful for interviews, teaching, understanding web stack internals

Project Samples

Project Activity

See All Activity >

Categories

Education

Follow What happens when

What happens when Web Site

Other Useful Business Software
AI-generated apps that pass security review Icon
AI-generated apps that pass security review

Stop waiting on engineering. Build production-ready internal tools with AI—on your company data, in your cloud.

Retool lets you generate dashboards, admin panels, and workflows directly on your data. Type something like “Build me a revenue dashboard on my Stripe data” and get a working app with security, permissions, and compliance built in from day one. Whether on our cloud or self-hosted, create the internal software your team needs without compromising enterprise standards or control.
Try Retool free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of What happens when!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Registered

2025-12-09