๐˜ผ ๐™จ๐™ž๐™ฃ๐™œ๐™ก๐™š ๐™€๐™ฃ๐™ฉ๐™š๐™ง ๐™ ๐™š๐™ฎ ๐™ฉ๐™ง๐™ž๐™œ๐™œ๐™š๐™ง๐™จ ๐™™๐™ค๐™ฏ๐™š๐™ฃ๐™จ ๐™ค๐™› ๐™จ๐™ฎ๐™จ๐™ฉ๐™š๐™ข๐™จ โ€” ๐™๐™š๐™ง๐™šโ€™๐™จ ๐™ฌ๐™๐™–๐™ฉ ๐™๐™–๐™ฅ๐™ฅ๐™š๐™ฃ๐™จ ๐™ฌ๐™๐™š๐™ฃ ๐™ฎ๐™ค๐™ช ๐™ฉ๐™ฎ๐™ฅ๐™š ๐™– ๐™๐™๐™‡

Published: (December 21, 2025 at 07:25 AM EST)
2 min read
Source: Dev.to

Source: Dev.to

Cover image for ๐˜ผ ๐™จ๐™ž๐™ฃ๐™œ๐™ก๐™š ๐™€๐™ฃ๐™ฉ๐™š๐™ง ๐™ ๐™š๐™ฎ ๐™ฉ๐™ง๐™ž๐™œ๐™œ๐™š๐™ง๐™จ ๐™™๐™ค๐™ฏ๐™š๐™ฃ๐™จ ๐™ค๐™› ๐™จ๐™ฎ๐™จ๐™ฉ๐™š๐™ข๐™จ โ€” ๐™๐™š๐™ง๐™šโ€™๐™จ ๐™ฌ๐™๐™–๐™ฉ ๐™๐™–๐™ฅ๐™ฅ๐™š๐™ฃ๐™จ ๐™ฌ๐™๐™š๐™ฃ ๐™ฎ๐™ค๐™ช ๐™ฉ๐™ฎ๐™ฅ๐™š ๐™– ๐™๐™๐™‡

What happens when you press Enter after typing a URL?

It looks simple, but a lot happens behind the scenes โ€” all in seconds.

1๏ธโƒฃ Finding the website (DNS lookup)

Your browser doesnโ€™t understand humanโ€‘readable names like google.com.
It asks the DNS (the internetโ€™s phone book) to translate the name into a numeric address (IP address).

Name โ†’ Number

2๏ธโƒฃ Saying hello (Server connection)

With the IP address, the browser opens a connection to the websiteโ€™s server, similar to dialing a phone number and checking if the other side is ready to talk.

3๏ธโƒฃ Making it secure (HTTPS lock)

Before any data is exchanged, the browser and server establish an encrypted channel.
Think of it as putting your message inside a locked envelope so no one else can read it.

4๏ธโƒฃ Asking for the page (Requestโ€ฏโ†’โ€ฏResponse)

The browser sends a request:

GET / HTTP/1.1
Host: example.com

The server replies with the pageโ€™s resources:

  • HTML (text)
  • Images
  • CSS, JavaScript, etc.

Itโ€™s like ordering food and receiving the meal.

5๏ธโƒฃ Showing the page (Rendering)

The browser:

  1. Builds the page structure from the HTML.
  2. Applies styles and colors from CSS.
  3. Executes JavaScript.
  4. Paints the final result on the screen.

Imagine constructing and painting a house from a blueprint.

All of this happens in milliseconds, every time you press Enter.

Back to Blog

Related posts

Read more ยป

Make Bookmark Dashboard sharable online

Introduction Recently, I often needed to share bookmarks with teammatesโ€”code repositories, documentation links, UI designs on Figma, etc. Thatโ€™s when an idea s...