ExnilumLessonsAll courses

Web Development path, stage 1 of 4

Foundations

Twelve weeks, from your first HTML tag to a small app with a page, a server and a database, built by you. Each week has lessons, a project you build on your own, and a short review so the earlier weeks stay sharp.

0 of 127 steps done

The whole road

Learning to build full stack apps well takes about a year of steady work, not twelve weeks. This is the first of four stages.

  1. FoundationsHTML, CSS, JavaScript, Python, and a first small app with every layer.12 weeks. This page.
  2. Data and serversSQL and database design, APIs in depth, testing, Git, and the command line.Started: SQL and Git are ready
  3. Modern front endComponents and a framework, state, routing, TypeScript, and accessibility.Planned
  4. Ship and maintainHosting, security, speed, fixing live problems, working with other people on one project, and a large final app.Planned

How a week works

Lessons

Two or three parts of a Deep Dive, with practice boxes and reps. Plan on three or four sittings.

A project

You build it on your own computer, with no step-by-step answer. A checklist tells you when it is done.

Review

A few reps from earlier weeks. They are new every time, so you practice the skill, not the answer.

The twelve weeks

1Your first pages14 lessons, about 3½ hours, 1 project

Write real HTML: text, lists, links and pictures, on pages that link to each other.

Lessons

  • Your computer: Your workbench3 lessons, about 39 minutes. What you actually need; Install VS Code; Which editor for which language.
  • HTML: Page basics4 lessons, about 66 minutes. Tags and elements; Attributes; The page skeleton; The head and meta tags.
  • HTML: Text and lists3 lessons, about 48 minutes. Headings and paragraphs; Words inside a line; Lists.
  • HTML: Links and media4 lessons, about 67 minutes. Links; Paths: where a link points; Images; Audio and video.

Project: A three-page site about something you like

Pick a hobby, a team, a game or a place. Build a small site about it, by hand, in a folder on your own computer.

Your project is done when it has all of these:

  • Three pages that all link to each other from a menu at the top
  • Every page has the full skeleton: doctype, lang, a title, and the viewport meta tag
  • One h1 per page, and headings that go in order
  • At least one list and three pictures, each with alt text
  • One link to another website that opens in a new tab
  • No errors in the W3C validator (validator.w3.org)

Want more?

  • Add a favicon
  • Add a short sound or video with controls

Review

  • No review yet. Go back and do the reps at the end of two lessons a second time: they are new every time.
2Structure and forms14 lessons, about 5 hours, 1 project

Give pages a meaningful structure, and collect information with forms and tables.

Lessons

  • HTML: Page structure3 lessons, about 55 minutes. Boxes with meaning; Sections, articles and asides; Why structure matters.
  • HTML: Forms5 lessons, about 94 minutes. The form; Text inputs; Choices; Big text boxes and buttons; Labels and checks.
  • HTML: Tables, embeds and projects6 lessons, about 150 minutes. Tables; Pages inside pages; Drawings with SVG; Project: a recipe page; Project: a week of meals; Mixed reps and what is next.

Project: A sign-up page and a schedule

Add two pages to your week 1 site: a sign-up or contact form, and a schedule or score table.

Your project is done when it has all of these:

  • header, nav, main and footer on every page, with no div where a tag with meaning fits
  • A form with at least five inputs of different kinds
  • Every input has a label you can click
  • At least two checks, such as required and a minimum length
  • A table with a caption and proper header cells
  • Still no errors in the validator

Want more?

  • Draw a small logo in SVG
  • Embed a map or a video

Review

  • Do the reps from two week 1 lessons you found hardest.
3Make it look good15 lessons, about 4½ hours, 1 project

Colors, type and spacing: the rules that make a page look designed.

Lessons

  • Your computer: The terminal3 lessons, about 43 minutes. Where am I? pwd, ls and cd; Files and folders by typing; Ask your computer about itself.
  • CSS: CSS basics8 lessons, about 150 minutes. Rules; Three ways to add CSS; Selectors; Combinators; Colors; Text and fonts; Backgrounds; The cascade.
  • CSS: Sizing and spacing4 lessons, about 67 minutes. The box model; box-sizing; Units; Display.

Project: Style your site

Give your site from weeks 1 and 2 a real look, with one stylesheet shared by every page.

Your project is done when it has all of these:

  • One external stylesheet, linked from every page, and no inline styles
  • A palette of five colors or fewer, with text that is easy to read on its background
  • Three text sizes used the same way on every page
  • Even spacing made with margin and padding, and box-sizing set
  • A menu that changes when you hover over it
  • Classes for styling, not IDs

Want more?

  • Try a font from Google Fonts
  • Add a background picture that does not hurt readability

Review

  • Do the reps from one forms lesson and one links lesson.
4Layout for every screen10 lessons, about 3 hours, 1 project

Flexbox, grid and media queries: pages that fit a phone and a wide monitor.

Lessons

  • CSS: Layout7 lessons, about 129 minutes. Positioning; Fixed and sticky; Stacking with z-index; Flexbox basics; Flexbox alignment and wrapping; Grid basics; Grid areas and card grids.
  • CSS: Responsive design3 lessons, about 55 minutes. Media queries; Fluid sizing; Responsive images.

Project: A landing page that works on a phone

Build one new page: a landing page for a made-up product, club or event.

Your project is done when it has all of these:

  • A header with the menu laid out in flexbox
  • A grid of cards that is three across on a wide screen and one across on a phone
  • A header that stays at the top as you scroll
  • No sideways scrolling at 360 pixels wide
  • At least one media query
  • Pictures that shrink to fit their box

Want more?

  • A different layout for tablets
  • Named grid areas for the whole page

Review

  • Do the reps from the selectors lesson and the box model lesson.
5Polish, and your portfolio13 lessons, about 4½ hours, 1 project

Themes, hover states and motion. Then the first version of the site that shows your work.

Lessons

  • CSS: Polish5 lessons, about 93 minutes. Pseudo-classes; Pseudo-elements; CSS variables and themes; Transitions; Animations.
  • CSS: Projects3 lessons, about 105 minutes. Project: a recipe card; Project: a recipe box for any screen; Mixed reps and what is next.
  • Git: Save points3 lessons, about 43 minutes. What Git is, and setting it up; init, status, add, commit; The history: log and diff.
  • Git: Undo, and what to leave out2 lessons, about 27 minutes. Undo with restore; .gitignore and secrets.

Project: Your portfolio, version 1

A portfolio is the site you show people. Start it now, and add each project to it as you go. A nickname is fine: you do not need your real name on it.

Your project is done when it has all of these:

  • A short introduction and a section that links to your projects from weeks 1 to 4
  • Colors kept in CSS variables
  • A dark theme that follows the reader's device
  • Clear hover and keyboard focus states on every link and button
  • One transition, turned off for people who ask for less motion
  • Works at 360 pixels wide
  • The folder is a Git repository with a .gitignore and at least five commits with clear messages

Want more?

  • A button that switches the theme by hand
  • A small animation on the page title

Review

  • Do the reps from two layout lessons: one flexbox, one grid.
6JavaScript: thinking in code13 lessons, about 4½ hours, 1 project

Values, decisions, loops and functions: the core of every programming language.

Lessons

Project: A guessing game and a bill splitter

Two small programs that run in the browser console. No page yet: this week is about logic.

Your project is done when it has all of these:

  • A number guessing game that says higher or lower, and counts your tries
  • A bill splitter: total, tip percent and number of people in, each share out
  • Every job is a function with parameters and a return value
  • Bad input (text where a number belongs, zero people) gets a clear message, not NaN
  • No copied and pasted blocks: shared work lives in one function
  • A list of five test inputs and what each should give, written as comments

Want more?

  • Limit the game to seven tries
  • Round each share up to the nearest quarter

Review

  • Do the reps from one CSS variables lesson and one media queries lesson.
7JavaScript on the page13 lessons, about 4½ hours, 1 project

Arrays and objects hold the data. The DOM and events put it on the screen.

Lessons

  • JavaScript: Arrays and objects4 lessons, about 86 minutes. Arrays; forEach, map and filter; Objects; Lists of objects.
  • JavaScript: The browser6 lessons, about 130 minutes. Finding elements; Changing elements; Making elements; Events; Debugging; Errors and try/catch.
  • Git: Branches3 lessons, about 45 minutes. Branch and switch; Merge; Merge conflicts.

Project: A to-do list

The classic first app, and for a good reason: it has every part a real app has. You will keep building on it until week 11.

Your project is done when it has all of these:

  • Add a task with a form
  • The tasks live in an array of objects, and the page is drawn from that array
  • Mark a task done, and delete a task
  • Show all, only active, or only done
  • A count of tasks left
  • An empty task is refused with a message
  • No errors in the console

Want more?

  • Edit a task by double clicking it
  • Drag to reorder

Review

  • Do the reps from the functions lessons and the loops lessons.
8Real data, real app13 lessons, about 5 hours, 1 project

Modules, waiting for things, and data from the internet. Then an app that saves and installs.

Lessons

  • JavaScript: Modern JavaScript6 lessons, about 127 minutes. Template literals; Destructuring, spread and rest; Modules; Callbacks and timers; Promises and async/await; fetch and JSON.
  • JavaScript: Make it an app4 lessons, about 145 minutes. Saving in the browser; Project: the recipe box app; An app that installs on your phone; Tools and next steps.
  • Git: GitHub3 lessons, about 43 minutes. Remotes and push; Clone, pull and a free website; Pull requests and READMEs.

Project: An app with live data

Build a small app around a free public API, such as the weather from open-meteo.com, which needs no key.

Your project is done when it has all of these:

  • Gets its data with fetch and async/await
  • Shows a loading message while it waits and a friendly message when it fails
  • Remembers the last thing the reader picked, with localStorage
  • Code split into at least two modules
  • Works on a phone
  • Your to-do list from week 7 now saves its tasks in the browser too
  • It is on GitHub with a README, and live on GitHub Pages

Want more?

  • Make it installable on a phone
  • Let the reader save favorites

Review

  • Do the reps from the arrays lessons and the events lesson.
9Python for the server21 lessons, about 8 hours, 1 project

A second language, and the one your back end will be written in. It goes faster the second time.

Lessons

  • Your computer: Run real files3 lessons, about 44 minutes. A web page, for real; Install Python and run a file; Packages, environments and Node.
  • Python: First steps5 lessons, about 118 minutes. Your first program; Variables; Numbers and math; Text; Types and converting.
  • Python: Decisions and loops4 lessons, about 98 minutes. if, elif and else; Comparing and combining; for loops and range; while loops.
  • Python: Functions4 lessons, about 97 minutes. Writing and calling functions; Parameters and return; Scope; Default and keyword arguments.
  • Python: Lists and dictionaries5 lessons, about 127 minutes. Lists; Looping over lists; Dictionaries; Lists of dictionaries; Tuples and sets.

Project: A notes tool for the command line

Install Python from python.org and write a program you run in a terminal. It keeps notes while it is running.

Your project is done when it has all of these:

  • A menu that loops: add, list, search, delete, quit
  • Notes kept as a list of dictionaries, each with a title, text and a tag
  • One function for each action
  • Search finds notes by a word in the title or the tag
  • Bad choices get a message and the menu comes back
  • Runs from start to quit with no error

Want more?

  • Save the notes to a JSON file so they survive a restart (the Text and files part of the Python Deep Dive shows how)
  • Sort the list by tag

Review

  • Do the reps from the fetch lesson and the saving in the browser lesson.
10The back end13 lessons, about 4½ hours, 1 project

What happens on the server: routes, JSON, a real database, passwords and logging in.

Lessons

  • SQL: Asking questions3 lessons, about 58 minutes. Tables and SELECT; Filter rows with WHERE; Sort and take the top few.
  • Back end: Requests and responses3 lessons, about 63 minutes. What a server does; Routes; JSON in and out.
  • Back end: Saving data2 lessons, about 48 minutes. A database with SQLite; Create, read, update, delete.
  • Back end: Accounts3 lessons, about 69 minutes. Passwords, hashed; Logging in with tokens; Only your own data.
  • Back end: Sharing and going live2 lessons, about 44 minutes. Sharing with a link; The same app in Flask.
  • Back end, parts 5 to 9Optional, and much more than this week needs. The same ideas in depth, in Flask: input you cannot trust, security, tables that belong together, tests with pytest, and a project. Come back to them after the path.

Project: An API for your to-do list

Write the server your to-do list will talk to, in Flask, on your own computer.

Your project is done when it has all of these:

  • Routes to list, add, change and delete tasks, each answering in JSON
  • The right status code for each case: 200, 201, 400, 401, 404
  • Tasks saved in a SQLite database
  • Accounts with hashed passwords, never the plain password
  • Logging in gives a token, and every task route needs it
  • Each person can only see and change their own tasks
  • A written list of test requests, one for every route

Want more?

  • A share link that shows one list to anyone
  • A due date on each task

Review

  • Do the reps from the Python dictionaries lessons and the Python functions lessons. Want more SQL? The rest of Databases with SQL goes much further than this week needs.
11The page meets the server6 lessons, about 2½ hours, 1 project

The front end and the back end working together, the way real apps do.

Lessons

  • Garage Notes: The plan1 lessons, about 23 minutes. How the pieces fit.
  • Garage Notes: The front end3 lessons, about 74 minutes. Show the notes; Forms that save; Signing in.
  • Garage Notes: Finish and ship2 lessons, about 58 minutes. Delete and share; Run it for real.
  • Putting an app onlineOptional this week, and worth it before week 12. One lesson in Back end, part 8: what a host needs from you, where the data lives, and a health check.
  • Testing your codeOptional this week. Four lessons in Advanced JavaScript, part 6: a project folder, your first tests, writing the test first, and tools that check your code. Come back to them after the path if this week is full.

Project: Connect the two

Join your to-do list page from week 7 to your API from week 10. When this works, you have built every layer of an app yourself, once.

Your project is done when it has all of these:

  • Sign up, sign in and sign out from the page
  • The list loads from the server
  • Adding, finishing and deleting a task is saved on the server
  • A clear message when the server cannot be reached
  • Sign in on a second browser and see the same list
  • No password or token written in your code

Want more?

  • Show the list right away and sync in the background
  • Add the share link to the page

Review

  • Do the reps from the tokens lesson and the JSON lesson.
12Capstone: your own app1 project

No lessons this week. You plan, build and finish an app of your own design.

Lessons

  • Your certificateTick every box on this page, and a certificate of completion appears at the bottom. It has its own page that you can link to.

Project: Your own app

Ideas: a workout log, a recipe box you can share, a maintenance log, a reading list, a score tracker for your game night. Pick something you would use.

Your project is done when it has all of these:

  • A one-paragraph plan, three screens sketched on paper, and a list of the data you will store, all before you write code
  • A front end, a back end and a database
  • Accounts, with each person's data kept private
  • Two kinds of data that belong together, such as lists and the items in them
  • Works on a phone
  • A README that says what it is and how to run it
  • It is in your portfolio, with a few sentences on what was hard

Want more?

  • Put it online
  • Ask one person to use it, and fix the first thing that confuses them

Review

  • Look back at your week 1 site. That is how far you have come.

What you can do at the end

Build a page by hand, style it for any screen, write the JavaScript that runs it, write a small server and database behind it, and connect them. You will have a portfolio with twelve projects in it, the last one your own idea.

That is a real foundation, and it is not the finish line. Stages 2 to 4 are where each layer goes from "I have done it once" to "I can do it without a guide".

Want more to build along the way? Build these has thirty more projects, each with its own checklist.

Your check marks are saved in this browser. If you are signed in, they are saved to your account too, so they follow you to another device.