Settings

Theme
Lite Mode (saves mobile data)

In Lite Mode, animations and videos don't play until you tap them, and their size is shown first. Interactive widgets still work.

Text size

Back up or move your progress →

Part 0: Start Here

How to use this site

P0.520 min●○○ BeginnerReviewed Nov 30, 2026

Why this matters for machine learning

Every lesson here has the same parts, and each part is there for a reason. Knowing the tools (the three depth tabs, the widgets, the quizzes, the settings and your saved progress) makes every later lesson faster to use and easier to remember.

  • The Math tab and the Code tab let you choose how deep to go in a math lesson, for example the dot product. (P1.B3: Dot product and cosine similarity)
  • Widgets and Go deeper boxes carry the hardest ideas, such as the way gradient descent behaves for different learning rates. (P1.F3: Gradient descent)
  • A long, number-heavy lesson such as backpropagation step by step is easier when you know you can skip the optional boxes and come back. (P4.8: Backpropagation: step by step with numbers)
  • Choosing a path tells you where the next big block starts: the math begins at vectors, and Python begins with its essentials. (P1.B1: Scalars, vectors and spaces)
  • Python in earnest, with the code boxes you met in the last lesson, is the start of the Code-First path. (P2.1: Python essentials for ML, coming soon)

Before this: Your toolkit

After this lesson you can

  • Name the parts of a lesson page and say what each one is for
  • Switch between the Intuition, Math and Code tabs, and say who each is for
  • Save a quiz score and a "complete" mark, back up your progress and move it to another phone
  • Turn on Lite Mode, dark mode and large text, and say what Lite Mode does and does not change
  • Choose a learning path, and say why skipping is fine
  • Report a mistake, and say how the site tries to avoid mistakes
  • Use study habits that research supports, and say that "learning styles" are not one of them

You have read four lessons already, so you know roughly what a lesson looks like. This one is a short guide to the tools around the ideas: what each part of a page is for, how to study with it, where your progress goes, and how to keep your data use and your costs down. Nothing here is required. If you prefer to just read, you can skip to the next lesson and come back when something puzzles you.

This lesson only describes things that exist today. A few features are planned but not built yet; they are listed near the end under “Coming later”.

A tour of a lesson page

Below is a simplified mock-up of a lesson page, drawn in HTML instead of as a screenshot, so it costs almost no data. Tap each number to see what that part is and how to use it. You can also use the Previous part and Next part buttons.

Tap a numbered part of this lesson page

A simplified mock-up, drawn in HTML (no screenshot, so it costs almost no data).

Top bar

On every page. On a lesson page on a phone or tablet, the menu button (three lines, at the left) opens Course contents: every lesson in order, a filled circle on the ones you completed, and lessons that are not written yet dimmed. On a wide screen the contents are a column at the left instead. Then: Curriculum (the whole course), My progress (hidden on very narrow phones: open it from Settings instead), Search, and Settings (theme, Lite Mode, text size).

Tip: Press Escape or tap outside the drawer to close Course contents.

Part 1 of 13
A mock-up of a lesson page with thirteen numbered parts: the top bar, the title and details, why this matters, before this, the objectives, the three depth tabs, a widget, a Go deeper box, a misconception box, the quiz, key takeaways, the complete button with the mistake link, and previous and next. Tap a part to read what it is for, with a tip. The text appears under the mock-up.

A few things the tour shows are worth saying twice.

  • “Why this matters” comes first because it is easier to learn something when you know what it is for. It is one sentence plus real uses, each pointing to the lesson that teaches it. If you do not care about those uses, you can decide to skip the lesson.
  • Prerequisites are links, not locks. If a lesson feels too hard, go back to its “Before this” lessons. If you already know them, carry on.
  • Reading time is an estimate. The minutes shown are a rough guide for reading and playing with the widgets. Taking longer is normal.

Three depths: Intuition, Math and Code

Most lessons explain the main idea three times, at different depths. Switch with the tabs.

TabWhat it gives youGood for
IntuitionPictures, everyday examples and plain wordsEveryone. Start here.
MathThe exact formulas, with the reasoning behind themWhen you want precision, or you will meet the formula in papers and exams
CodeThe same idea as a few lines of Python (and NumPy)When you understand things best by running them

These are depths, not types of people. You can read Intuition first and Math later, or read Code to check that you really understood the Math. Here is a small live example. It is about the average of three numbers. Try the tabs.

Intuition

Imagine three stacks of coins with 2, 4 and 9 coins. The average is the stack height you would get if you moved coins around until all three stacks were equally tall. Here that is 5 coins each: 15 coins in total, shared over 3 stacks.

Math

The average (mean) of x1,x2,x3x_1, x_2, x_3 is

xˉ=x1+x2+x33.\bar{x} = \frac{x_1 + x_2 + x_3}{3}.

For 2, 4 and 9 this is (2+4+9)/3=15/3=5(2 + 4 + 9)/3 = 15/3 = 5.

Code

numbers = [2, 4, 9]
print(sum(numbers) / len(numbers))   # prints 5.0

This block is only shown, not run. The code boxes that run (with a Run button) are the ones from the previous lesson.

Two details of the tabs:

  • Your choice is remembered. When you tap a tab, the site remembers it in your browser and opens the same tab in later lessons. If you pick Math here, the Math tab opens first in the next lesson that has one. (If a lesson has no tab with that name, the first tab opens.) A tab block you have not touched opens on the first tab, Intuition.
  • It works without JavaScript. If the page’s scripts do not load, all three depths are shown one under the other, each with its title.

The tabs can also be used by keyboard: press Tab to reach them, then the Left and Right arrow keys to move between them.

How to use each part

Widgets (the parts you move). A widget is a small interactive picture: you drag a point, move a slider or tap a button, and the result changes. The text around it tells you what to try. Before you move anything, guess what will happen, then check. A guess that turns out wrong is useful: it shows exactly what you had not understood yet. Under every widget there is a caption that describes what it shows in words.

Go deeper boxes. These are closed when you arrive. Tap the title to open one. They hold derivations, proofs and side stories. They are optional: the main text never depends on them, so skip them on a first read. Open them when you are curious, or when you are preparing for an exam.

Misconceptions. A red-edged box states a wrong belief that many people hold, then says why it is wrong. If the wrong belief sounds right to you, that is exactly why the box is there.

Key ideas. A green box with a star holds the one thing to remember from a section.

Quizzes. At the end of each lesson there is a short quiz.

  • Tap an answer and you get feedback at once, with an explanation of why. The right answer is marked.
  • The order of the answers is usually shuffled when the site is built, so the right answer is not always in the same place.
  • When you have answered every question, your score is shown (“You got 4 of 5”) and saved on your device. “Try again” lets you go through the quiz again. The best score you have had is the one kept.
  • It is low stakes. Nobody sees your score unless you share it. The explanations teach more than the score does.

Exercises. Exercises come after the quiz. Each one has a Show answer button under it. Try first, then tap it to check. Trying before looking is the whole point, as the next section explains.

Study habits that research supports

You do not have to follow any of this. Habits 1 and 3 have the strongest support in learning research; 2, 4 and 5 are sensible practice with weaker or less direct evidence.

  1. Try to recall before you look. Pulling an answer out of your memory (this is called retrieval practice) strengthens memory more than reading the same material again. This is why the quiz and the exercises are there. It works even when you get the answer wrong, as long as you then see the right one.
  2. Guess first. Making a guess before you see an answer, even a wrong guess, tends to help you learn the answer afterwards. So predict what a widget will do before you move it.
  3. Space it out. The same total study time, spread over several days, usually gives better memory later than one long session. Ten minutes on four different days is often better than forty minutes once. Coming back to an old lesson and trying its quiz again is a good way to do this. (Flashcards that do this for you are planned, but not built yet.)
  4. Explain it in your own words. After a section, close the page and say or write the main idea as if to a friend. Where you get stuck is where to look again. The “Key takeaways” box at the bottom is a good checklist for this.
  5. Do the small numbers by hand. Worked examples in this course use small numbers on purpose. Working one out with pen and paper, then checking against the lesson, is better than only watching.

A large review of study techniques (Dunlosky and others, 2013) rated practice testing and spreading study over time as having high usefulness, and rated re-reading and highlighting as having low usefulness. The review looked at general learning techniques, not at this site, so treat it as a good rule of thumb and not as a guarantee.

Your progress stays on your device

Press Mark lesson as complete at the bottom of a lesson to save a tick. Press it again to undo. Here is what happens to your progress:

WhatWhere it shows up
A lesson marked completeA filled circle next to it in Course contents, a “done” badge on the Curriculum page, and the count on My progress
Your best quiz score for each lessonOn My progress, next to the lesson, for example “quiz 4/5”
The last lesson you openedA “Continue” link on the home page

All of this is saved only in your browser, on your own device. Nothing is sent to a server and no account is needed. Your code edits in code boxes and the positions of widgets are not saved. Your settings and your tab choice are also kept in your browser, but they are separate from your progress and are not in the backup file.

Because it is only on your device, a few things follow.

  • A different browser or device starts empty. Your phone and your laptop do not know about each other.
  • It can be lost. Clearing your browser’s site data erases it. Private browsing windows usually do not keep it after you close them. The page on iPhone says it plainly: Safari on iPhone may erase a site’s saved data after about a week without a visit, unless you add the site to your home screen.
  • So back it up. The My progress page (also linked from Settings) has three tools for protecting, moving and erasing your progress.
  1. Download backup file. You get a small text file (JSON) with your completed lessons, quiz scores and the last lesson you opened. Restore from file reads it back. Restoring merges: it adds lessons you completed in the file, keeps the higher quiz score for each lesson, and never removes anything that is already on this device.
  2. Scan the QR code, or copy the transfer link. Open the link or scan the code on your other device. It opens My progress there and asks “Bring in progress from your other device?”. Tap “Add it here” and it is merged in. The link carries the IDs of lessons you completed and your quiz scores. It keeps this data after the # in the address, which the browser does not send to a server. Treat the link like a private note, because anyone who has it can read which lessons you finished.
  3. Erase my progress removes everything on this device. It asks you to confirm with a second tap, and it cannot be undone unless you have a backup.
Go deeper Where exactly is it stored, and why can it be lost?

Your progress is saved in your browser’s local storage, a small key-value area that each website gets in each browser. The site never sees it unless you choose to move it. The browser, not the site, decides when stored data may be deleted. When you mark a lesson complete the site also asks the browser to treat its storage as permanent, but the browser may say no, and the request does nothing against you clearing the data yourself. Apple’s Safari has a rule that can delete a site’s stored data after several days without use, with an exception for sites added to the home screen. That is the reason for the iPhone warning on the My progress page. A backup file is the safest copy.

Settings: theme, Lite Mode and text size

Tap the sliders icon (Settings) in the top bar. It opens a panel with three choices. They are saved in your browser.

  • Theme: Match my device, Light, or Dark. Dark mode is easier on the eyes in a dark room.
  • Text size: Normal or Large.
  • Lite Mode (saves mobile data): Automatic, Always on, or Off.
    • In Lite Mode, animations and videos do not play until you tap them, and their size is shown first. Interactive widgets still work.
    • Automatic turns it on when your browser reports that data saver is on, or that your connection is slow (2G). Not every browser shares this information, so if you want Lite Mode for sure, choose Always on.
    • Lite Mode does not change code boxes. A code box downloads Python (about 6 MB, about 9 MB with NumPy) only when you press Run, and then your browser usually keeps it. Nothing downloads before that.

What this site costs you

Cost
MoneyNothing. Free, with no sign-up and no paywall. The support page says there will be no ads in lessons, widgets or quizzes, and none in Lite Mode
An accountNone, for any feature
DataA lesson page is mostly text and small interactive parts. Animations and videos are optional in Lite Mode. Python is downloaded only if you press Run
Your own computerA phone with a browser is enough. No GPU is needed for the early parts of the course

Finding your way

  • Course contents. On a lesson page, the menu button (three lines, top left) opens the list of every lesson on a phone or tablet. On a wide screen it is a column at the left. Lessons that are not written yet are dimmed in Course contents and marked “soon” on the Curriculum page.
  • Curriculum (top bar). The whole course in order, with a short note on each lesson’s key ideas and its kind of visual, and a “done” badge on lessons you completed. It also says how many lessons are ready now.
  • Search (magnifying glass). It searches the text of the lessons that exist. It works on the live site, and its index is loaded only when you open the Search page.
  • Home page. If you have opened a lesson before, the home page shows a “Continue” link to the last one.
  • Previous and Next at the bottom of each lesson. Next skips lessons that are not written yet.

Learning paths

You do not have to take the whole course. The curriculum describes several paths, each for a different goal. The numbers of lessons are approximate. Use the picker to see the route for your goal.

Which path fits you?

Deep Learning Core (about 100 lessons)

Route: P0, then P1 (B, C, D, E, F), P2.6 to P2.7, P3.A, P4, P5.1 to P5.10, P6.1 to P6.12, P7.

Start: Start with Part 0 (you are nearly done) and then P1.B1.

A path is a suggestion. Every lesson is open to you, you can leave a path at any time, and lesson counts are approximate. Many lessons are not written yet.

A path picker. Choose the sentence that best describes you. Under the choices appears the matching learning path, its approximate number of lessons and its route through the curriculum. The paths come from the Learning Paths table of the curriculum. Paths are suggestions only: all lessons are open to everyone.

Three things to remember about paths:

  • Skipping is fine. If you know a topic, skip its lessons. If a later lesson then feels too hard, follow its “Before this” links back.
  • Paths overlap. They are different routes through the same lessons, not separate courses.
  • Many lessons are not written yet. A path may run ahead of what exists today. Follow Next, and the Curriculum page shows what is ready. The home page lists four of the paths; separate pages for paths are not built yet.

Accessibility

The site is built so that you can use it in different ways. This is what exists today.

  • Keyboard. Buttons, tabs, quiz answers, widgets and the settings panel can be used from a keyboard. A “Skip to content” link appears when you press Tab at the top of a page. In a code box, Ctrl+Enter (Cmd+Enter on a Mac) runs the code. Escape closes the Course contents drawer.
  • Descriptions. Every animation has a description in words, and widgets come with captions and labels that describe what they show.
  • Reduced motion. If your device asks for reduced motion, animations and videos wait for a tap, and the site’s own animations and transitions are shortened.
  • Text size and dark mode are in Settings. Buttons are made large enough to tap on a phone.
  • Math. Formulas are drawn with KaTeX, which also includes a version that screen readers can read.

Accessibility work is never finished. If something does not work for you, please tell us with the mistake link.

Honesty: this site is new, and mistakes can exist

  • Many lessons are “coming soon”. The Curriculum page and the home page say how many are ready.
  • How lessons are checked. Each lesson starts with a written plan that lists everything it must cover. Every factual claim and number is checked and recorded (numbers by running code, history and research against the original sources). Then an independent reviewer that did not write the lesson checks it again, looking for errors and misleading statements. At the moment that reviewer is an AI system working from the lesson files, and the project is designed so human expert reviewers can be added later. That is one more reason your “Found a mistake?” reports matter. After that, the lesson shows a Reviewed date.
  • Mistakes can still exist. A Reviewed date means the facts were checked on that day, not that the lesson is perfect. If you think something is wrong, please say so: that is how the site improves.
  • How to report. At the bottom of every lesson, Found a mistake? Tell us opens a pre-filled issue on GitHub, with the lesson’s name and address already in it. Submitting needs a free GitHub account. Reporting is optional, and you can use the whole site without one. The “Source and corrections” link in the page footer leads to the project page on GitHub.

Coming later

These are in the plan for the site but do not exist yet, so do not look for them: flashcards with spaced review, glossary pop-ups on hover or tap, an interactive concept map, offline use, printable cheat sheets, free completion certificates, optional accounts for syncing, translations, and separate pages for paths. When they arrive, this lesson will be updated.

Go deeper Reviewed dates, and how a correction reaches you

Each lesson file records the date its facts were last checked, and the page prints it as “Reviewed”. When someone reports an error, the lesson is corrected in the project’s source, the claim is checked again, and the Reviewed date is updated. The site is rebuilt and the new version replaces the old one. You do not have to do anything: reload the page to see it. Whenever a lesson has been changed in a big way, the independent review is repeated.

Go deeper Code box shortcuts

In a code box, Ctrl+Enter (or Cmd+Enter on a Mac) runs the code. Pressing Tab inside the box inserts four spaces instead of moving to the next control; press Escape and then Tab to leave the box with the keyboard. A Reset button appears after you change the code, and puts back the original.

Common misconceptions

Check yourself

Check your understanding

  1. Where is your progress (completed lessons and quiz scores) saved?

  2. What does Lite Mode change?

  3. You tap the Math tab in one lesson, then open another lesson that has an Intuition, a Math and a Code tab. What do you see?

  4. Which of these study habits does research support best?

  5. You think a lesson contains a mistake. What does "Found a mistake? Tell us" do?

Exercises

Try each one before you look at its answer.

  1. Open the dot product lesson (P1.B3) and tap its Math tab. Then open the gradient descent lesson (P1.F3). Which tab is open there, and why?
    Show answerthe Math tab, because the site remembers your last tab choice in this browser.
  2. Answer the quiz in the previous lesson (P0.4) and tap Mark lesson as complete. Open My progress. What do you see?
    Show answerat least one lesson completed and one quiz taken; the lesson is listed with its score, for example “quiz 5/5”. The Curriculum page now shows a “done” badge on it, and the home page has a Continue link.
  3. On My progress, download the backup file and open it in a text editor. What does it contain?
    Show answerplain text in JSON form, with "version": 1 and a lessons object listing the lessons you completed with their dates and quiz scores. It contains no personal details.
  4. Open Settings. Choose Dark and Large text, then reload the page.
    Show answerboth settings stay, because they are saved in your browser.
  5. Use the path picker to pick the path that fits you, then write down the first lesson you will read and one lesson you plan to skip.
    Show answerthere is no single right answer. Check that your first lesson matches the route shown.
  6. In two sentences, explain why it helps to try a quiz question or an exercise before you read its explanation.
    Show answerfor example, recalling or guessing an answer makes you work with the idea and strengthens memory, and a wrong guess shows what you had not yet understood, so the explanation then sticks better than reading it cold.

Key takeaways

  • Lessons follow the same pattern: why it matters, prerequisites (when there are any), objectives, the explanation in three depths (Intuition, Math, Code), widgets, optional Go deeper boxes, misconceptions, a quiz, exercises and key takeaways. Only the Intuition path is needed to follow the main idea.
  • Your tab choice, theme, Lite Mode and text size are remembered in your browser. Your progress (completed lessons, best quiz scores, last lesson) is saved only on your own device, with no account. Back it up from the My progress page.
  • Lite Mode makes animations and videos wait for a tap and shows their size first. Interactive widgets still work, and code boxes download Python only when you press Run.
  • Paths are suggestions, not rules. Skip what you know. Prerequisites are links you can follow when something feels too hard.
  • Research reviews rate trying to recall an answer (quizzes, exercises) and spreading study over days as useful, and re-reading and highlighting as less useful. There is no good evidence for teaching to a 'learning style'.
  • The site is new, so many lessons are coming soon and mistakes can exist. Each lesson shows a Reviewed date, and the Found a mistake link opens a GitHub issue (a GitHub account is needed, and reporting is optional).
Found a mistake? Tell us