Skip to content

Web Fundamentals Course — from zero to a dashboard anyone can use

Web and frontendBeginner

By · co-founder and Chief Executive Officer of Hábil. This is how we teach those who build systems that cannot fail.

Start with lesson 0See the lessons

Who it is for: anyone who has never written a web page, and anyone who copies snippets that work without knowing why. No prior experience with any language is assumed: every concept is explained when it appears, and it is explained why it exists, not just how to write it.

What you will know by the end: how to build a complete page, understand what you wrote and be able to explain it to someone else. And you will keep the judgment to read the platform's documentation on your own.

Where it goes next: this course is the step before this house's TypeScript course, which rebuilds this same dashboard with types and with React.

What you need before you start: a computer with Linux Mint and knowing how to open a terminal. Lesson 1 installs everything from scratch.

The project you are going to build

The revisor (“checker”): a dashboard that shows the status of a list of services —name, status and response time— with its summary, its filters and its form. With plain HTML, CSS and JavaScript, without a single library, reading its data from a JSON file in the project itself.

It starts in Lesson 2 and grows in every lesson. It is the same problem as the Go, Rust and TypeScript courses of this house: when you move on to TypeScript you will rebuild this dashboard, and comparing the two versions teaches more than starting another project.

The twelve lessons

At the end of each lesson there are exercises with their solutions. And the logbook is yours: write down there what gave you trouble.

Two principles that run through the whole course

Accessibility and security are not lessons, they are habits. There is no final accessibility module: there is native HTML in Lesson 2, the keyboard in 3, 4 and 5, textContent in 7, native validation in 10 and the review in 11. A topic left for the end is a topic that does not get learned.

Only what already works in every browser is taught. What does not yet appears in a “what is coming” box and you are told not to use it in production. A course that teaches what has just come out gets old in six months.

How you know you are done

The course does not end when you have read Lesson 11, but when your dashboard meets these five things. No program checks them for you: you check them yourself, with the browser's tools, and the “How I know I got it” section of each lesson tells you how:

  1. It can be navigated completely with the keyboard, without using the mouse.
  2. There is not a single error in the browser's console.
  3. It works at 320 px wide with no horizontal overflow.
  4. It shows the three states: loading, error and empty. Not just the case where everything goes well.
  5. Text that comes from outside is drawn with textContent, never with innerHTML.

Lessons

  1. Lesson 0 — How the web works
  2. Lesson 1 — Your machine and the work cycle
  3. Lesson 2 — HTML with meaning
  4. Lesson 3 — CSS: cascade, specificity and the box
  5. Lesson 4 — Laying out with Flexbox and Grid
  6. Lesson 5 — A page that works on any screen
  7. Lesson 6 — JavaScript and the data model
  8. Lesson 7 — The DOM, events and state
  9. Lesson 8 — Fetching data: promises, fetch and async/await
  10. Lesson 9 — When something fails: timeouts, states, CORS and several requests
  11. Lesson 10 — Forms and validation
  12. Lesson 11 — The finished dashboard