ExnilumLessonsAll courses

Build these

Thirty projects to build on your own. Each one is a brief: what to make, a checklist that says when it is done, and ideas for going further. There is no step-by-step answer, so what you end up with is yours to show.

  • 30 projects of 8 kinds
  • From an evening to two weeks
  • Free, with no account

How a brief works

A goal, not a recipe

A brief says what to build and stops there. How you build it is up to you. Looking things up is part of the work. Copying a tutorial line by line is not.

A checklist says when it is done

Tick the boxes as you go. They are saved in this browser, and in your account if you are signed in, so they follow you to another device.

Make it yours

Change the subject to something you care about. A budget tracker can be a fuel log. A club database can be your bowling league.

The thirty projects

Pick one a step above what feels easy. Each brief lists the lessons that teach what it needs.

0 of 30 built
Uses
Size

Small: a weekend or less. Medium: about a week of evenings. Large: two weeks or more.

Pages that look designed

HTML and CSS, with no JavaScript. What they show: you can turn a design into a page that holds up on a phone, on a wide screen and on paper.

Match this picture: three layoutsSmall. A weekend.

Three small designs are below as pictures, with their measurements. Rebuild each one in HTML and CSS until yours and the picture are hard to tell apart. Somebody hands you a design and you make it real: that is the everyday work of building for the web.

The three pictures

Open a picture to see it full size, and save it next to your code. The measurements are under each one.

The ticket
Measurements
  • The page is 360 wide, with the background #dfe6ee. All the text is Arial, with Helvetica and sans-serif to fall back on.
  • The ticket is 320 by 460 and white, with 18px corners. It sits 20px from each side and 30px from the top. Its shadow is 0 12px 30px rgba(31, 42, 68, 0.18).
  • The band at the top is 170 tall, in #1f2a44. Its text starts 24px from the left edge. ONE NIGHT ONLY is 12px bold in #ffcf4a, with its letters 2px apart. The Lanterns is 40px bold in white. Live at Cedar Hall is 17px in #c9d3e6.
  • The tear line is 32px below the band: dashed, 2px thick, in #b8c2cf, and it stops 24px short of each edge. A half circle with a 14px radius is cut out of each side.
  • The details are in two columns, 152px apart. Labels are 12px bold in #6b7686, with their letters 1px apart. Values are 20px bold in #1f2a44.
  • The bar code is 272 by 56, in #1f2a44: a 3px bar, a 2px gap, a 1px bar and a 4px gap, over and over.
  • No. 004271 is 13px, in a monospace font, in #6b7686, and centered.
The plans
Measurements
  • The page background is #f4f6fb. Pick a plan is 26px bold in #111827. The line under it is 15px in #5b6474.
  • Every card is white, with a 1px border in #d8deea, 14px corners and 20px of padding. On a phone a card is 328 wide, and the cards are 16px apart.
  • The middle card has a 2px border in #2f6fed, and a badge: 92 by 24, fully rounded, in #2f6fed, with 12px bold white text.
  • Plan names are 18px bold. Prices are 36px bold in #111827. The words after a price are 15px in #5b6474.
  • Each line of a list is 15px in #374151. The lines are 26px apart, and each starts with a dot 8px across in #2f6fed.
  • Buttons are 44 tall, with 10px corners and 16px bold text. The middle one is filled with #2f6fed. The other two have a 1.5px border in #2f6fed, and text in the same color.
  • At 800 wide: three cards of 240 in a row, 20px apart, with the heading centered. The middle card is 24px taller, 12px above the others and 12px below.
The player card
Measurements
  • The page is 360 wide, with the background #0d1321.
  • The card is 320 by 504, with 22px corners and a 1px border in #2a3856. Its background fades from #1d2a44 at the top to #141c2e at the bottom.
  • The circle is 88 across: #24324f inside, with a 4px ring in #5eead4. RK is 30px bold in #e8eefc.
  • Riley Kade is 24px bold in #f1f5ff. Level 12 ranger is 15px in #93a4c3.
  • The three boxes are 88 by 64 and 12px apart, in #1f2b45, with 12px corners. Their numbers are 22px bold in #f1f5ff, and their labels 12px in #93a4c3.
  • Each bar is 288 by 10 and fully rounded, in #24324f. XP is filled to 72% in #5eead4, and stamina to 60% in #fbbf24. The words above the bars are 13px.
  • The three badges are 44 by 44 and 12px apart, in #24324f, with 12px corners. Inside them: a circle 20 across in #fbbf24, a square 14 across turned 45 degrees in #5eead4, and a triangle 20 wide and 19 tall in #f472b6.
  • The button is 288 by 44, with 12px corners, in #5eead4. Its text is 16px bold in #0d1321.

Text can sit a pixel or two off on your computer, because fonts differ from one device to the next. The boxes should line up.

It is done when it has all of these:

  • All three layouts are built: the ticket, the plans and the player card
  • At 360 pixels wide, yours lines up with each picture to within a few pixels. Check by laying the picture over your page, half see-through
  • The plans page also matches the wide picture at 800 pixels, from the same HTML
  • Real text, never a picture of text. Flexbox or grid for the layout, not an absolute position for every piece
  • The colors and sizes come from the measurements, and are kept in CSS variables
  • The notches, the bar code, the bars and the badges are drawn with CSS, with no image files
  • Each layout still holds together when a name gets twice as long
  • No errors in the W3C validator
  • It is on GitHub, with a README that says what it is, shows a picture of it, and names one thing you would add next
  • It is live on GitHub Pages, and your portfolio links to it

Want more?

  • Hover and focus states for every button, in the same style
  • A light version of the player card
  • A fourth layout: find a ticket, a receipt or a label at home and rebuild it

Lessons that help

Apps in the browser

Small tools that run in the browser and remember what you gave them. What they show: you can keep the data in one place, draw the page from it, and lose nothing on a reload.

A budget tracker with a chartMedium. A week of evenings.

Type in what you spend and see where the month went. Everything stays in your own browser. Make it yours: the same app can be a fuel log, a hobby fund or a savings goal.

It is done when it has all of these:

  • Add an entry with an amount, a category, a date and a note. Change it and delete it
  • The entries live in one array of objects, saved in the browser, and the whole page is drawn from that array
  • Totals for each category this month, and a way to look at earlier months
  • A chart of the month by category that you draw yourself, with SVG, a canvas or plain CSS bars. The numbers can also be read as text
  • Money is kept in whole cents, so the page never shows 0.30000000000000004
  • A missing amount, a negative number or letters are refused, with a clear message beside the field
  • A limit for each category, and a sign when one is passed that does not depend on color alone
  • It works on a phone, with no errors in the console
  • It is on GitHub, with a README that says what it is, shows a picture of it, and names one thing you would add next
  • It is live on GitHub Pages, and your portfolio links to it

Want more?

  • Save the entries as a CSV file, and load one
  • Entries that repeat every month
  • A second chart: spending day by day

Lessons that help

Flashcards that come back just before you forgetMedium. A week of evenings.

A flashcard app with a memory. Cards you know come back less and less often. Cards you miss come back tomorrow. The idea is called spaced repetition, and this simple version of it is the Leitner system.

It is done when it has all of these:

  • Make a deck, and add, change and delete cards with a front and a back
  • A study screen shows the front, flips on a click or the space bar, then asks: knew it, or missed it?
  • Every card sits in a box from 1 to 5. Knew it moves the card up one box. Missed it sends it back to box 1
  • Each box has a wait: 1, 2, 4, 8 and 16 days. The study screen only shows cards that are due today
  • Everything is saved in the browser, with each card's box and the date it is due next
  • A screen that shows how many cards are in each box, and how many are due today
  • The whole app works with the keyboard alone, and on a phone
  • A deck can be saved to a file and loaded again
  • It is on GitHub, with a README that says what it is, shows a picture of it, and names one thing you would add next
  • It is live on GitHub Pages, and your portfolio links to it

Want more?

  • A cram mode that shows every card and moves none
  • Cards that can be asked back to front
  • A count of the days in a row you studied

Lessons that help

A typing testSmall. A weekend.

Sixty seconds, a paragraph, and a score in words per minute. Simple to describe, and full of small decisions about timing and the keyboard.

It is done when it has all of these:

  • A paragraph to type, picked at random from at least ten that you wrote yourself
  • The clock starts at the first key, not when the page opens, and runs for 60 seconds
  • Each letter changes as it is typed: right and wrong look different, and not by color alone
  • The score is counted the standard way: every five characters typed correctly is one word. Accuracy is shown as a percent
  • Backspace works, and pasting does nothing
  • The best score and the last ten results are saved in the browser and shown
  • A new test starts with one key, with no need for the mouse
  • On a phone, the keyboard opens and the text stays in view
  • It is on GitHub, with a README that says what it is, shows a picture of it, and names one thing you would add next
  • It is live on GitHub Pages, and your portfolio links to it

Want more?

  • A choice of 15, 30, 60 or 120 seconds
  • A mode for typing code
  • A list of the keys you miss most

Lessons that help

A pixel art editorMedium. A week of evenings.

A grid, a palette and a pencil. Draw small pictures one square at a time, and save them as real image files you can use in your games.

It is done when it has all of these:

  • A 16 by 16 grid you draw on by clicking and by dragging, with a mouse and with a finger
  • A palette of at least eight colors, a picker for any other color, and an eraser
  • A bucket tool that fills a whole area with one color
  • Undo and redo, at least 20 steps back
  • The picture is an array in your code, and the grid on the page is drawn from it
  • Pictures can be saved in the browser by name, and opened again
  • A button saves the picture as a PNG file, scaled up so it is not a tiny dot
  • Clear asks first, so one slip does not wipe a drawing
  • It is on GitHub, with a README that says what it is, shows a picture of it, and names one thing you would add next
  • It is live on GitHub Pages, and your portfolio links to it

Want more?

  • Grids of 8, 16 and 32
  • Mirror drawing: every stroke is copied on the other side
  • Frames you can flip through as an animation

Lessons that help

Not in the lessons, and worth reading

A drum machineLarge. A week or two.

Sixteen steps, four sounds and a tempo. Click the squares to build a beat, and the page plays it in a loop. Your code makes the sounds with the browser's Web Audio API, so there are no sound files to hunt for.

It is done when it has all of these:

  • A grid of four rows of sounds by sixteen steps. Every step is a button that switches on and off
  • Play and stop, a tempo from 60 to 180 beats a minute, and a light that follows the step being played
  • The sounds are made in code with the Web Audio API, or are recordings you made yourself
  • The beat stays steady when the page is busy, because the notes are scheduled on the audio clock and not fired by a bare timer
  • Sound starts only after a click on Play, which is what browsers require
  • The pattern is saved in the browser, and can be shared as a link
  • Every step works from the keyboard and tells a screen reader whether it is on
  • It is on GitHub, with a README that says what it is, shows a picture of it, and names one thing you would add next
  • It is live on GitHub Pages, and your portfolio links to it

Want more?

  • Swing: every second step a little late
  • A volume for each row
  • Several patterns played one after another as a song

Lessons that help

Not in the lessons, and worth reading

Games

Rules, timing and things that move. What they show: you can keep track of a changing world in code, and find the bug when it misbehaves.

Memory matchSmall. An evening or two.

Sixteen cards face down, eight pairs. Turn two over: a match stays up, a miss turns back. A fine first game, because every rule fits in a sentence and every one of them can go wrong.

It is done when it has all of these:

  • A board of 16 cards, shuffled a new way every game
  • Two cards turned over: a pair stays up, a miss turns back after a moment
  • A third card cannot be turned while two are showing
  • A count of moves, and a clock that starts at the first card
  • A message at the end with the moves and the time, and a button for a new game
  • The best result is saved in the browser
  • The cards are buttons, so the game can be played with Tab and Enter
  • The pictures on the cards are your own: shapes, drawings or emoji
  • It is on GitHub, with a README that says what it is, shows a picture of it, and names one thing you would add next
  • It is live on GitHub Pages, and your portfolio links to it

Want more?

  • Three sizes: 12, 16 and 36 cards
  • Two players taking turns, with a score each
  • A turning animation, switched off for people who ask for less motion

Lessons that help

SnakeSmall. A weekend.

The snake moves one square at a time and grows when it eats. The whole game is an array and a timer, which makes it the best place to learn how a game loop works.

It is done when it has all of these:

  • The snake moves one square each tick, steered with the arrow keys or W, A, S and D
  • Food makes it one square longer and adds to the score. New food never lands on the snake
  • Hitting a wall or itself ends the game, with the score and a way to start again
  • It cannot turn back into itself, even when two keys are pressed within one tick
  • It gets faster as it grows
  • A key pauses the game, and it pauses by itself when the tab is hidden
  • It can be played on a phone, with swipes or buttons on the screen
  • The high score is saved in the browser
  • It is on GitHub, with a README that says what it is, shows a picture of it, and names one thing you would add next
  • It is live on GitHub Pages, and your portfolio links to it

Want more?

  • Edges that wrap around to the other side
  • Levels with walls in the way
  • Two snakes on one keyboard

Lessons that help

Brick breakerMedium. A week of evenings.

A paddle, a ball and a wall of bricks. This is the classic first game on a canvas, where your code redraws the whole picture many times a second.

It is done when it has all of these:

  • A paddle moved with the mouse, the arrow keys and a finger
  • A ball that bounces off the walls, the paddle and the bricks, drawn on a canvas
  • Where the ball lands on the paddle changes its angle, so the player can aim
  • The game runs at the same speed on a fast screen and a slow one
  • Three lives, a score, and at least three levels. The levels are written as data, not as code
  • Some bricks take two hits, and show it
  • Screens for paused, game over and you win, and a new game without reloading the page
  • The ball never passes through the paddle, even at its fastest
  • It is on GitHub, with a README that says what it is, shows a picture of it, and names one thing you would add next
  • It is live on GitHub Pages, and your portfolio links to it

Want more?

  • Bonuses that fall from bricks: a wider paddle, a second ball
  • Sounds
  • A level editor that saves your own levels

Lessons that help

Not in the lessons, and worth reading

MinesweeperMedium. A week of evenings.

A grid of hidden squares, some with mines. Every number says how many mines touch that square. The rules are short, and the code behind them is a real exercise in thinking about neighbors.

It is done when it has all of these:

  • A 9 by 9 board with 10 mines. They are placed after the first click, so the first click is never a mine
  • An opened square shows how many of the eight squares around it hold mines
  • Opening a square with no mines around it opens the whole empty area
  • A right click, or a long press on a phone, plants and lifts a flag. A counter shows mines minus flags
  • Opening a mine ends the game and shows them all. Opening every safe square wins it
  • A clock that starts at the first click
  • The rules live in functions that work without the page, with tests for them
  • Three sizes: 9 by 9 with 10 mines, 16 by 16 with 40, and 30 by 16 with 99
  • It is on GitHub, with a README that says what it is, shows a picture of it, and names one thing you would add next
  • It is live on GitHub Pages, and your portfolio links to it

Want more?

  • Clicking a number that already has all its flags opens the rest around it
  • Best times for each size
  • Play with the keyboard alone

Lessons that help

A platformer with three levelsLarge. Two weeks or more.

Run, jump, land, collect, reach the door. Gravity and collisions are the hard part, and getting them to feel right is its own reward. Build the brick breaker first.

It is done when it has all of these:

  • A character that runs, jumps and falls with gravity, and cannot jump again in the air
  • Platforms and walls that cannot be passed through from any side
  • Levels are drawn from data: a grid of letters, one letter for each tile
  • Three levels, each with a start, a goal and one new idea: a moving platform, spikes, a key and a door
  • Coins to collect, with a count. Touching a hazard starts the level again
  • The view follows the character through a level wider than the screen
  • The same speed on every screen, and buttons on the screen for a phone
  • The art is your own: plain shapes, or sprites you drew
  • It is on GitHub, with a README that says what it is, shows a picture of it, and names one thing you would add next
  • It is live on GitHub Pages, and your portfolio links to it

Want more?

  • Enemies that walk back and forth
  • A level editor
  • A clock and best times for each level

Lessons that help

Not in the lessons, and worth reading

Live data

Apps built on somebody else's data, fetched fresh each time. The three sources here are free and need no key and no account (checked in December 2026).

Earthquakes, live on a mapMedium. A week of evenings.

The US Geological Survey publishes every earthquake it records as a free feed. Put a month of them on a page by latitude and longitude, and the dots trace the edges of the Earth's plates with no map behind them.

It is done when it has all of these:

  • It gets a feed from earthquake.usgs.gov with fetch, starting with 4.5_month.geojson
  • A message while it loads, and a friendly one when the request fails
  • Every quake is a dot in the right place: longitude across, latitude up and down. The feed lists longitude first
  • Bigger quakes get bigger dots, and a key explains the sizes
  • A list beside the map, newest first, with the place, the magnitude and how long ago it was
  • Picking a dot or a row shows that quake's details, with a link to its page at the USGS
  • A choice of the past day, week or month, and of the smallest magnitude to show. The choice is remembered
  • It works on a phone, names the USGS as its source, and asks for a feed no more than once a minute
  • It is on GitHub, with a README that says what it is, shows a picture of it, and names one thing you would add next
  • It is live on GitHub Pages, and your portfolio links to it

Want more?

  • Color the dots by depth
  • A map picture or a map library behind the dots
  • A chart of quakes per day

Lessons that help

Not in the lessons, and worth reading

A book finder with a reading listMedium. A week of evenings.

Search millions of books through Open Library, a free catalog that anyone can use, and keep your own three lists: want to read, reading and finished.

It is done when it has all of these:

  • A search box that asks openlibrary.org/search.json and shows the title, author, year and cover of each result
  • It asks only for the fields it shows, and for 20 results at a time, with a way to get the next 20
  • It waits until typing stops, or for Enter, before it asks. Open Library allows one request a second
  • Loading, nothing found and something went wrong each have their own message
  • A book without a cover gets a placeholder you made, so the grid stays even
  • Add a book to a list, move it to another, and take it off. The lists are saved in the browser
  • A rating and a note for every finished book
  • It works on a phone, and each book links to its page at Open Library
  • It is on GitHub, with a README that says what it is, shows a picture of it, and names one thing you would add next
  • It is live on GitHub Pages, and your portfolio links to it

Want more?

  • Books finished per month, as a chart
  • Sort a list by title, by author or by the date added
  • Save the lists to a file

Lessons that help

Not in the lessons, and worth reading

A currency converter with a rate chartSmall. A weekend.

Type an amount, pick two currencies, and get the answer at today's reference rate. Under it, a chart of how that rate moved over the last three months.

It is done when it has all of these:

  • The list of currencies comes from the API, not from your code
  • The answer uses the newest rate, and shows the date of that rate
  • A button swaps the two currencies
  • A line chart of the last 90 days that you draw yourself, with the highest and the lowest point marked
  • Amounts are written the way each currency is written, with the right symbol and decimals
  • Rates that were already fetched are kept, so going back to a pair does not ask again
  • Messages for loading and for failure. The last answer stays on the screen when the network drops
  • The last pair is remembered, and it works on a phone
  • It is on GitHub, with a README that says what it is, shows a picture of it, and names one thing you would add next
  • It is live on GitHub Pages, and your portfolio links to it

Want more?

  • One amount in ten currencies at once
  • A choice of a month, a year or five years
  • It works offline, with the last rates it saw

Lessons that help

Not in the lessons, and worth reading

  • Frankfurter: the rates APIFree reference rates from central banks, with no key. The list of currencies and a range of dates are each one request.

Python tools

Programs for the terminal that do real chores on real files. What they show: you can write code that is safe to run on things that matter, and prove it with tests.

A folder tidier you would trust with real filesSmall. A weekend.

Code on your own computer has a script that sorts a downloads folder by file type. Build the version you would dare to run on your real one. Try it on a copy of a folder first.

It is done when it has all of these:

  • It runs from the terminal with the folder as an argument, and --help explains every option
  • A dry run is the default: it prints what would move and where, and moves nothing until you add --go
  • It never overwrites a file: a second report.pdf becomes report (2).pdf
  • The rules for which endings go to which folder are in a JSON file you can edit, not in the code
  • Every move is written to a log, and an undo command reads the log and puts everything back
  • It skips folders, hidden files and its own files, and carries on past a file it cannot move, with a message
  • Tests that build a pretend folder in a temporary place, run the tidier and check the result
  • It is on GitHub, with a README that says what it does and how to run it, with a sample run copied from your terminal
  • Your portfolio links to it

Want more?

  • Sort into folders by month, from each file's date
  • An option to touch only files older than 30 days
  • A report of the ten biggest files

Lessons that help

A duplicate file finderSmall. A weekend.

Find the files that are the same inside, whatever they are called: the photo copied three times, the download saved twice. It reports and it moves. It never deletes.

It is done when it has all of these:

  • It walks a folder and every folder under it
  • Two files are the same only if their contents match: compare sizes first, then a hash of the contents, with hashlib
  • Big files are read a piece at a time, so a 4 GB video does not fill the memory
  • It prints each group of duplicates with their sizes, and the total space the extra copies take
  • It deletes nothing. An option moves the extra copies to a folder you name, and keeps one of each
  • Files it cannot read are skipped with a message, and empty files are not called duplicates of each other
  • A line that shows progress on a big folder
  • Tests with a temporary folder of known duplicates
  • It is on GitHub, with a README that says what it does and how to run it, with a sample run copied from your terminal
  • Your portfolio links to it

Want more?

  • Write the report as a CSV file
  • Skip folders by name, such as .git
  • Find pictures that are nearly the same, not exactly

Lessons that help

A CSV cleaner that writes a reportSmall. A weekend.

Real data files are messy: stray spaces, three ways to write a date, the same row twice. Write a tool that fixes what can be fixed, sets aside what cannot, and says what it did. A messy file to practice on is below.

The practice file

messy-sales.csv holds 60 rows of sales from a made-up parts counter, with every problem in the checklist. It starts like this:

 Order ID,Date ,Customer Name,Part,Qty, Unit Price,Paid
1003,  03/16/2026 ,Cal D.,"Coolant, 1 gal", 8,$17.20,yes
  1047 ,2026-02-13, Wes T.,Spark plug, 3,6.25,yes
1048 ,3/5/2026,  Mei L. ,"Coolant, 1 gal", 5,17.20,no
1013,03/13/2026 ,  Mei L. ,Air filter,  8 ,19.50,

Its rules: a date written with slashes has the month first. A row needs an order id, a date, a part, a whole number for the quantity, and a price. The last column may be empty.

It is done when it has all of these:

  • It reads a CSV file and writes a cleaned copy. The original is never changed
  • Spaces around values are trimmed, and the headers become lowercase with underscores
  • Dates written as 3/7/2026, 2026-03-07 or March 7, 2026 all come out as 2026-03-07
  • Numbers written with a $ or with commas come out as plain numbers
  • Rows that are the same after cleaning are written once, and the extras are counted
  • A row that cannot be fixed goes to a second file, with a column that says why
  • A report at the end: rows read, rows written, duplicates dropped, rows set aside, and how many values were fixed in each column
  • On the practice file it reports 60 rows read, 48 written, 5 duplicates dropped and 7 set aside
  • It is on GitHub, with a README that says what it does and how to run it, with a sample run copied from your terminal
  • Your portfolio links to it

Want more?

  • Which columns are dates, numbers or required comes from a settings file
  • Guess the kind of each column from its values
  • Write the report as a web page

Lessons that help

A story engineSmall. A weekend.

Code Like a Dungeon Master ends with a dungeon written into the code. Take the next step: an engine that plays any adventure written in a JSON file, so that making a new game needs no Python at all.

It is done when it has all of these:

  • The whole story is in a JSON file: the rooms, their descriptions, the exits, the items, and what opens what
  • The engine has no room names or story text in its code. A different file gives a different game
  • Commands: go, look, take, drop, use, inventory and help, with short forms such as n, s, e, w and i
  • At least one way that stays locked until the player has the right item, and one item that changes a room when it is used
  • A command it does not know gets a helpful answer, never a crash
  • Before the game starts, the engine checks the story file and names any mistake, such as an exit to a room that does not exist
  • A game can be saved and picked up again later
  • Two story files: a short one for the tests, which play it from start to finish, and a real one with at least eight rooms
  • It is on GitHub, with a README that says what it does and how to run it, with a sample run copied from your terminal
  • Your portfolio links to it

Want more?

  • A map command that draws the rooms visited so far
  • Things that happen after a number of moves
  • The same engine behind a web page

Lessons that help

A notes-to-website generatorMedium. A week of evenings.

Write notes as plain text files with a few simple marks, run your program, and get a small website: a page for every note and an index that links them all. Many blogs and manuals are made exactly this way.

It is done when it has all of these:

  • It reads every .md file in a folder and writes one HTML page for each into an output folder
  • Your own converter handles headings, paragraphs, bullet lists, links, bold text and blocks of code
  • Text is escaped: a note that contains <script> shows those characters and runs nothing
  • A note can start with a few lines of settings: a title, a date and tags. The index lists the notes newest first
  • One HTML template and one stylesheet shared by every page, each in its own file
  • A page for each tag, listing its notes
  • Running it twice gives the same result, and a note you delete loses its page
  • Tests for the converter: a list of small inputs and the HTML each one must give
  • The example site it built is live on GitHub Pages
  • It is on GitHub, with a README that says what it does and how to run it, with a sample run copied from your terminal
  • Your portfolio links to it

Want more?

  • Rebuild only the notes that changed
  • A search box that runs in the browser
  • A feed that readers can subscribe to

Lessons that help

Data and SQL

Questions asked of data, and answers you can stand behind. What they show: you can design tables, write the queries, and explain what the numbers mean.

Five findings from a public data setMedium. A week of evenings.

Pick a public data set about something you care about, ask it five questions, and publish the answers as one page with a chart for each. Getting a table to tell you something true is a skill of its own.

It is done when it has all of these:

  • A data set of at least 1,000 rows, from a source that says you may use it. The page names the source and the day you downloaded it
  • A script loads the file into a SQLite database, so anyone can build it again
  • Five questions, written down before you look for the answers, and one saved SQL query for each
  • At least one query needs GROUP BY, one needs a JOIN or a query inside a query, and one compares across time
  • A chart for each finding. Its title states the finding, its axes are labeled, and its bars start at zero
  • Under each chart, one sentence on what could make the finding wrong or unfair, such as missing rows or a very small group
  • Your code builds the page from the query results. No number is typed in by hand
  • The page is live on GitHub Pages
  • It is on GitHub, with a README that says what it is and how to build all of it again from nothing
  • Your portfolio links to it

Want more?

  • A sixth finding that surprised you
  • A chart the reader can filter
  • The same questions asked of next year's file

Lessons that help

Not in the lessons, and worth reading

A database for a club or a leagueSmall. A weekend.

Design the database behind something real: a league with teams, players and games, a club with members, dues and events, or a tool library with loans. Then prove the design by asking it hard questions. Invent the names: no real people's details.

It is done when it has all of these:

  • At least four tables with primary keys and foreign keys, and one link table for a many-to-many pair, such as players and games
  • Every fact is stored once. No totals or standings sit in a column that could go stale
  • The rules are in the tables: NOT NULL, UNIQUE and CHECK where they belong
  • Foreign keys are switched on (SQLite leaves them off until you ask), and a row that points at nothing is refused
  • One file makes the tables. A script fills them with at least 200 rows of made-up data
  • Ten questions answered by ten queries in one file, each with its question as a comment. Among them: a standings table, a LEFT JOIN that finds what has no match, and a HAVING
  • A drawing of the tables and how they connect
  • A small Python program prints three of the reports, and passes its values to the queries safely
  • It is on GitHub, with a README that says what it is and how to build all of it again from nothing
  • Your portfolio links to it

Want more?

  • A view for the standings
  • An index, and proof that it made a query faster
  • A web page on top of it

Lessons that help

Servers and full apps

A back end of your own: routes, a database, and rules about who may do what. What they show: you can build the part of an app that nobody sees and everything depends on.

A link shortenerSmall. A weekend.

Paste a long address, get a short one back, and count how often it is used. A small server with a real database, and a good first look at what people will try to send you.

It is done when it has all of these:

  • A page with a form: a long address goes in, a short one comes out
  • Opening the short address sends the visitor on to the long one with a 302 redirect, so every visit reaches your server and can be counted
  • The codes are random, at least six characters long, and never handed out twice
  • Only http and https addresses are accepted. Anything else gets a 400 and a reason
  • Links are kept in SQLite, with a count of visits and the time of the last one
  • A page of numbers for each link, and a proper 404 page for a code that does not exist
  • A limit on how many links one visitor can make in a minute
  • Tests for every route, including the refusals
  • It is on GitHub, with a README that says what it does, how to run it on your own computer, and lists every route
  • No password, secret key or database file is in the repository
  • Your portfolio links to it, with two or three pictures of it running

Want more?

  • Codes that people choose themselves
  • Links that stop working after a date
  • Accounts, so each person sees only their own links

Lessons that help

Polls with live resultsMedium. A week of evenings.

Ask a question, share the link, and watch the bars move as people vote. The hard parts are the ones nobody sees: counting correctly when two votes arrive at the same instant.

It is done when it has all of these:

  • Make a poll with a question and two to six choices, and get a link to share
  • Anyone with the link can vote once from each browser. The README says plainly what this does and does not stop
  • The results page shows a bar for each choice, and updates by itself within a few seconds, with no reload
  • Votes are counted in a way that stays right when two arrive at the same moment
  • Whoever made the poll can close it. A closed poll refuses votes with a clear message
  • The server checks everything it is sent: an empty question, a single choice, a vote for a choice from another poll
  • The bars also show the count and the percent as text, and the page works on a phone
  • Tests for the routes, including a second vote and a vote on a closed poll
  • It is on GitHub, with a README that says what it does, how to run it on your own computer, and lists every route
  • No password, secret key or database file is in the repository
  • Your portfolio links to it, with two or three pictures of it running

Want more?

  • Results pushed by the server the moment a vote lands
  • Ranked choices
  • A chart of votes over time

Lessons that help

A sign-up sheet with time slotsMedium. A week of evenings.

The paper sheet on the door, as an app. An organizer lists time slots, each with a number of places, and people put their name in one. Car wash shifts, a potluck, practice times.

It is done when it has all of these:

  • An organizer with an account makes a sheet: a title, a date and slots, each with a time and a number of places
  • A share link lets anyone sign up with just a name, and no account
  • A full slot cannot be overbooked, even when two people press the button at the same moment
  • Each person gets a private link to take their own name off, and nobody else's
  • The organizer sees every name, can remove one, and can print the sheet
  • Times are shown with the day of the week, and the slots are listed in order
  • The server checks every input and answers with the right status code
  • Tests, including the race for the last place
  • It is on GitHub, with a README that says what it does, how to run it on your own computer, and lists every route
  • No password, secret key or database file is in the repository
  • Your portfolio links to it, with two or three pictures of it running

Want more?

  • A waiting list for full slots
  • A sheet that repeats every week
  • A file for the organizer with everyone who signed up

Lessons that help

Who owes whomLarge. Two weeks or more.

A trip, a shared house, a team dinner fund. People pay for things, and at the end nobody remembers who owes what. Build the app that does. It has every layer: a page, a server, a database and accounts.

It is done when it has all of these:

  • Accounts, and groups that a person joins through an invite link
  • Add an expense: who paid, how much, and who shares it. Change it and delete it
  • Money is kept in whole cents. When a split does not divide evenly, the spare cents go to someone, and the shares always add up to the total
  • A balance for every member: what they paid, minus their share of everything
  • A settle up list of who pays whom that clears every balance. The balances of a group always add up to zero
  • Only members can see a group or change it, and the server checks that on every route
  • The money math lives in its own module, with tests for uneven splits, one person paying for everything, and a member with no expenses
  • The page talks to the server with fetch, and works on a phone
  • It is on GitHub, with a README that says what it does, how to run it on your own computer, and lists every route
  • No password, secret key or database file is in the repository
  • Your portfolio links to it, with two or three pictures of it running

Want more?

  • Shares that are not equal: by percent, or by exact amounts
  • A history of who changed what
  • Save a group's expenses as a CSV file

Lessons that help

Make an old project better

Take something you already built and make it better. Most programming is improving code that already exists, and a clear before and after is easy to show.

Put a finished project under testSmall. A weekend.

Take a project you have already finished and give it a safety net: tests that prove it works today, and that shout when a later change breaks it. In JavaScript or in Python.

It is done when it has all of these:

  • A finished project with at least 100 lines of your own code
  • The logic that does not touch the page or the terminal is moved into functions that can be called on their own
  • At least 15 tests, each with a name that says what it proves
  • Edge cases among them: nothing at all, zero, the biggest value, and input that makes no sense
  • At least one real bug found by a test, fixed, and the test kept
  • One command runs every test, and the README gives it
  • A note on what you had to change in the code before it could be tested
  • The before and after is in the README of the project you improved
  • Your portfolio says what you improved, next to that project

Want more?

  • The tests run by themselves on GitHub every time you push
  • A number for how much of the code the tests reach
  • A test that clicks through the page itself

Lessons that help

An accessibility passSmall. A weekend.

Take one of your pages and make it work for everybody: people who use a keyboard and no mouse, people who listen to a screen reader, people who cannot tell red from green. Write down what you found and what you fixed.

It is done when it has all of these:

  • The whole page can be used with the keyboard alone: everything is reached with Tab, in an order that makes sense, with a focus ring that is always easy to see
  • You listened to the page with a screen reader (VoiceOver, Narrator or TalkBack) and fixed what made no sense
  • Every picture has alt text that fits, or an empty alt if it is decoration. Every input has a label
  • One h1, headings in order, and landmarks: header, nav, main and footer
  • Text stands out from its background by at least 4.5 to 1, or 3 to 1 for large text, measured in the browser's developer tools
  • Nothing is said by color alone, and the page still works zoomed to 200 percent
  • Movement stops for people who ask for less motion
  • The accessibility check in Lighthouse finds nothing left to fix. It only catches some problems, which is why the steps above come first
  • A list in the README: every problem, how you found it and how you fixed it
  • The before and after is in the README of the project you improved
  • Your portfolio says what you improved, next to that project

Want more?

  • A link at the very top that skips to the main content
  • Error messages in forms that a screen reader announces
  • Ask one person to use the page with the keyboard only, and watch

Lessons that help

Not in the lessons, and worth reading

A speed pass, with before and after numbersSmall. A weekend.

Take your heaviest page and make it load fast on a slow phone. Measure first, change one thing at a time, and keep the numbers. The numbers are the project.

It is done when it has all of these:

  • Before any change: three Lighthouse runs on its mobile setting, with the performance score, the largest contentful paint and the total weight of the page written down
  • Pictures are the right size for their box, in a modern format such as WebP, with a width and a height set, and they load late when they are below the first screen
  • Nothing holds up the first paint that does not have to: scripts are deferred, and CSS that is not used is gone
  • Two font files at most, shown with a fallback while they load, or the device's own fonts
  • The layout does not jump while the page loads: a layout shift score under 0.1
  • The largest contentful paint is under 2.5 seconds on the Lighthouse mobile test
  • The page still looks and works the same
  • A table in the README: every change, with the numbers before and after it, and at least one change that did not help
  • The before and after is in the README of the project you improved
  • Your portfolio says what you improved, next to that project

Want more?

  • The page opens at once on a second visit
  • A check that fails when the page grows past a weight you set
  • The same test on a real, older phone

Lessons that help

Not in the lessons, and worth reading

More ways to build

A brief leaves you alone with a goal. These two give you more to hold on to.

Show what you built

A finished project that nobody can see might as well not exist. Do these four things for every one. They are the last boxes in each checklist.

  1. Put it on GitHubMake the folder a Git repository on the first day, and commit as you go. The history is part of what you show.Git: Remotes and push
  2. Write a READMEWhat it is, a picture of it, how to run it, and one thing that was hard. Five honest sentences beat five paragraphs.Git: Pull requests and READMEs
  3. Put it online, if it is a pageGitHub Pages hosts pages for free, straight from your repository.Git: Clone, pull and a free website
  4. Add it to your portfolioOne card for each project: a picture, two sentences, and two links, to the live page and to the code.Week 5 of the Web Development path starts one

Which ones to pick

Three projects of different kinds show more than ten of the same kind. Finish a small one first: a finished small project beats a large one that is half done.

Want a plan to go with them? The Web Development path lays out twelve weeks of lessons, with a project of its own every week.

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