Skip to content

Their First Program

You'll get one person from zero to a working program they wrote themselves, and find out what you actually know by teaching it.

About

Pick someone who has never coded and wants to, whether that's a partner, a kid, a parent or a coworker. Sit with them for four sessions and get them to a program they built, not one you typed while they watched. You'll find out your explanations are full of holes, and you'll fix them. This isn't a mentoring program. It's one person and one month.

At a glance

Per requirement
25 XP
Completion bonus
150 XP
Requirements
6
Takes
Two to four weeks
Skill level
Intermediate (months of practice)
Cost
Free
Supplies
Nothing special
Where
At home
Other people
With other people
Locked for now
Earn two more Common badges in Coding to open this one. Log in to see how far along you are.

Requirements

  1. 1
    Find one person who wants to learn and agree on four sessions of about an hour each. Write down the dates. Ask what they'd want to build, because a small goal they picked beats any curriculum. Take a photo of the plan with the dates on it. Photo
  2. 2
    In session one, get a language installed and a hello world running on their machine, with their hands on the keyboard. You don't touch the keyboard. Point, explain, and wait. Installation will eat half the session, and that's normal. Take a photo of their screen with the output and their hands on the keys. If they're a kid, keep their face out of every post in this badge. Photo
  3. 3
    In session two, cover variables, input and a condition through a program they chose. A tip calculator, a guess-the-age game, or a quiz with one question all work. Let them pick, and let them hit the error and read it before you help. Take a photo of their program running. Photo
  4. 4
    In session three, introduce a loop and let them fix their first bug without you. Plant nothing and wait for a real bug. Then stay quiet for at least two minutes while they look at it. Film a short clip of them explaining the bug they found. Video
  5. 5
    In session four, have them finish a program of at least 20 lines that does what they wanted on day one. You can suggest, but they type. It can be ugly. Film them demonstrating it and saying what it does. Video
  6. 6
    Write down three things you explained badly and how you'd explain them now. There will be more than three, so pick the worst ones. This note is worth more than the badge. Take a photo or a screenshot of the note. Photo