Foundations

How Websites Work

A beginner-friendly explanation of browsers, HTML, CSS, JavaScript, servers, domains, hosting, and deployment.

How Websites Work only counts when it ends in something you built and can open in a browser.

LearnDeploy

Outcome

Answer how websites work for Nigerian learners.

Understand what happens when someone opens a website; end with a small live demo, a README, a screenshot, and an explanation in your own words.

  • Understand what happens when someone opens a website
  • Know the difference between frontend and backend
  • Deploy a simple site with a real URL
Operator Brief

Buyer, user, workflow, and wedge.

Buyer

The first person to judge this is whoever you show it to next — a senior developer, a mentor, a founder, a business owner. They are checking one thing: can you explain what you built?

User

A beginner or working developer who wants study time to turn into something real and inspectable, not another saved tutorial tab.

Current manual workflow

Most people watch videos, copy the code, lose the project, and end up with nothing to show and no bug they can explain fixing.

Wedge

Build the smallest version of how websites work that answers one real question someone would actually ask.

How Websites Work build order

Step 1

Browser requests

Use Chrome to grasp the idea, build one small feature, run it on your machine, deploy it, then write down what changed and what you still need to check.

Step 2

HTML documents

One deployed page or feature, one README, one set of screenshots, one short write-up. No dashboard sprawl, no half-built extras.

Step 3

CSS styling

Ship a tiny how websites work build with a public link, a GitHub repo, a README, and a 60-second note on how it works.

Step 4

JavaScript behavior

Do not accept AI code you cannot explain line by line. Do not publish secrets, private client data, or payment keys in screenshots or repos. Run the app, check mobile layout, and keep a small bug log before calling it finished.

Step 5

Hosting

Real, explainable work opens doors — a portfolio piece, an apprenticeship, a remote application, a first chat with a small business — if and when you want them.

Hands-on: see a website's request and serve a page

Two small experiments to make the request-and-response idea concrete: inspect a real request, then serve your own HTML file locally.

1. Watch a request happen

Open any site, then open your browser DevTools (F12 or right-click and Inspect), go to the Network tab, and refresh. Each row is a request the browser made for HTML, CSS, JavaScript, and images.

2. Create a tiny HTML page

Make a file called index.html with a heading. This is the document a server would send back to the browser.

<!doctype html>
<html>
  <body>
    <h1>Hello from my first page</h1>
  </body>
</html>
3. Serve it on a local web server

Opening the file directly works, but serving it over HTTP is closer to the real thing. This command starts a local server with no install needed.

npx serve .
4. Open it in your browser

Visit the address the command prints (usually http://localhost:3000). The browser requested your page and the local server responded with the HTML.

http://localhost:3000
Field Notes from Nigeria

Why this works here

The Nigerian builder needs a low-data, mobile-first path from concept to deployed proof, with GitHub, screenshots, a written case study, and one credible money path.

Proof and risk standard

Avoid this

  • Do not accept AI code you cannot explain line by line.
  • Do not publish secrets, private client data, or payment keys in screenshots or repos.
  • Run the app, check mobile layout, and keep a small bug log before calling it finished.
  • Reading tutorials for weeks without shipping a public URL
  • Letting AI generate code you cannot explain, debug, or test
  • Skipping Git, browser devtools, deployment, and written documentation
  • Learning tools without connecting them to a Nigerian business workflow

Proof standard

  • Live URL
  • GitHub repo with README
  • Mobile screenshot
  • Bug or test note
  • Plain-English explanation
  • A deployed mini project
  • A GitHub repository with a clear README

First proof, then where it can lead

First proof to build

Ship a tiny how websites work build with a public link, a GitHub repo, a README, and a 60-second note on how it works.

Where it can lead you

Real, explainable work opens doors — a portfolio piece, an apprenticeship, a remote application, a first chat with a small business — if and when you want them.

Pricing anchor

While you are learning, the proof itself is the value. If you later turn it into client work, a scoped starter build commonly runs ₦150k-₦500k after a proper conversation.

Outreach script

Message to try

I built a small how websites work demo around a Nigerian business workflow. Can I show you the link and ask what would make it genuinely useful to your team?

MVP boundary

One deployed page or feature, one README, one set of screenshots, one short write-up. No dashboard sprawl, no half-built extras.

Workflow to prove

Use Chrome to grasp the idea, build one small feature, run it on your machine, deploy it, then write down what changed and what you still need to check.

Reusable template

01Definition in plain English
02Where it fits in the builder lifecycle
03A Nigerian example workflow
04A small practice task
05A proof artifact to publish

How to measure progress

Deployed projects
Readable commits
Bugs fixed independently
Concepts explained without AI
Portfolio artifacts created

Frequently asked questions

What should I ship first for How Websites Work?

Ship Ship a tiny how websites work build with a public link, a GitHub repo, a README, and a 60-second note on how it works.. Keep the scope tight, document the assumptions, and connect the result to real, explainable work opens doors — a portfolio piece, an apprenticeship, a remote application, a first chat with a small business — if and when you want them..

What is the biggest risk with How Websites Work?

Do not accept AI code you cannot explain line by line. The VibeCoded standard is to expose the buyer, workflow, proof, pricing anchor, and review notes before calling the work ready.

Quality Gate

Editorial standard

  • Examples are tied to real Nigerian business workflows
  • The page tells learners exactly what to build next
  • The advice includes testing, deployment, and review
  • The page never pretends AI removes the fundamentals
  • The page targets "how websites work" without stuffing the phrase.
  • The operator brief names a buyer: The first person to judge this is whoever you show it to next — a senior developer, a mentor, a founder, a business owner. They are checking one thing: can you explain what you built?
  • The first proof is explicit: Ship a tiny how websites work build with a public link, a GitHub repo, a README, and a 60-second note on how it works.
  • Where the work can lead is stated honestly: Real, explainable work opens doors — a portfolio piece, an apprenticeship, a remote application, a first chat with a small business — if and when you want them.
  • The next action is concrete: Build and deploy your first page.