Someone asks you to teach them web development, and the polite instinct is to hand over a curriculum: HTML this month, CSS next, JavaScript after that. What usually happens is that they finish week two of a course, never build a page, and quietly stop mentioning it.
Teaching works better when the first session ends with a URL. Everything after that is just repeating the loop with slightly harder material.
Have them own the keyboard from minute one
The most common teaching mistake is demonstrating. You type, it works, they watch, and nothing transfers, because watching someone else debug is like watching someone else swim. Sit at an angle, keep your hands off the keys, and narrate only what you are looking for.
When they get stuck, resist the urge to grab the laptop. Ask what they expected the browser to show and what it showed instead. That single question teaches more than ten minutes of explanation, and it gives them a diagnostic habit they can use alone.
Build a page about something they already love
A generic exercise page is forgettable. A page about a football team, a favourite band, a bike route, or a grandmother’s recipes will keep them typing for two hours without noticing. It also gives you honest material: real photos, real names, real paragraphs long enough to break a layout.
Set the bar low enough to clear in one sitting: a heading, two paragraphs, a picture, and a link. Ugly is acceptable. Unpublished is the only failure.
Introduce one idea per session, and name it
Beginners cannot hold five new concepts at once, but they can hold one if it has a name. Session two is “the box model”. Session three is “selectors”. Session four is “the page reacts to a click”. Say the name out loud, show it happening, then let them break it deliberately and repair it.
If the session ends early, stop early. A short win that leaves curiosity intact beats a long lesson that ends in confusion.
Review by asking, not by rewriting
When they show you a page, list what works before what does not. Then ask them to resize the window, tab through the links, and read the text as if they were a stranger. Most of the problems will surface without your opinion, and the ones they find themselves are the ones they fix for good.
Save your corrections for the two that matter: something broken and something confusing. Leave the margins and the font choices alone for now. Taste arrives later, and a critiqued beginner stops showing you work.
What a good first month looks like
By the end, they should have a live page they can send to a friend, a text editor they chose themselves, and a rough picture of what HTML, CSS, and JavaScript each do. That is plenty. You are not producing a hire, you are producing someone who knows how to keep learning on their own.