100 Days of Code
Code for at least 60 consecutive minutes every day for 100 days and post your progress publicly, resetting to day 1 if you skip a single day.
The rules
- Code for a minimum of 60 minutes every calendar day on self-directed projects; watching video tutorials or reading books without writing active code counts as a failure for that day.
- Share your progress daily on social media or a public repository using the #100DaysOfCode tag, noting what you built and what you learned; omitting the public log counts as a failure.
- Work only on projects outside of your paid employment or standard classroom assignments; counting paid company tasks counts as a failure.
- Push all working code or incremental changes to a public GitHub repository before midnight; uncommitted local edits do not count toward your daily session.
- If you fail to complete 60 minutes of code within a 24-hour day, you must reset your streak counter to day 1, as established in the original 2016 rules by Alexander Kallaway.
What it is
Alexander Kallaway created 100 Days of Code in June 2016. He published the challenge as an open-source manifesto on GitHub to break his own cycle of passive reading and sporadic weekend coding sessions. The challenge tests your capacity to sit with syntax errors, broken logic, and incomplete documentation for 100 consecutive days without quitting.
A frequent misconception is that 100 Days of Code is a curriculum. Kallaway provided no syllabus, no required programming language, and no problem sets. The challenge is an accountability framework, not a course. Following a video instructor who writes code while you watch does not satisfy the requirements. The challenge demands that you initiate the keystrokes, design the architecture, and debug your own mistakes on standalone software tools, web applications, or scripts. You pick the stack, establish the repo, and do the mechanical work yourself.
Why it works
Passive consumption creates an illusion of competence. In a 1978 study on retrieval dynamics published in the Journal of Experimental Psychology: Human Learning and Memory, Norman Slamecka and Peter Graf documented the generation effect: individuals retain information significantly better when they generate answers themselves rather than reading them. Watching someone write a React component produces familiarity, not operational ability. Writing the component from an empty file forces the retrieval pathways that turn theoretical syntax into practical recall.
The public logging requirement uses social commitment contracts. Robert Cialdini documented in Influence that public commitments trigger an internal drive toward behavioral consistency. When you declare your target and log daily commits with a public hashtag, quitting carries a social cost. That daily friction keeps you at the keyboard when self-motivation drops after week two.
How to start
- Create a GitHub account and fork the official 100-days-of-code tracking repository to log your daily session notes.
- Select one primary programming language and two project ideas you plan to build during the first 30 days.
- Block a recurring 60-minute window on your daily calendar, ideally before your workday starts or immediately after it ends.
- Configure your local development environment on day -1 by installing your text editor, compiler, runtimes, and command-line tools.
- Send your first public post on your chosen platform declaring your start date and linking to your GitHub profile.
The daily plan
| Week | Daily Target | Focus and Deliverable |
|---|---|---|
| Week 1 | 60 min/day | Environment configuration, basic syntax, and a command-line utility. |
| Week 2 | 60 min/day | Control flow, data structures, and terminal-based interactive games. |
| Week 3 | 60 min/day | Modular code, function libraries, and unit testing basic logic. |
| Week 4 | 60 min/day | File input/output, external data parsing, and JSON handling. |
| Week 5 | 60 min/day | API integration, handling HTTP requests, and rendering fetched data. |
| Week 6 | 60 min/day | Database schema design, local storage integration, and data persistence. |
| Week 7 | 60 min/day | Building full CRUD operations (Create, Read, Update, Delete) on a single app. |
| Week 8 | 60 min/day | Midpoint refactor: clean code architecture, error handling, and edge cases. |
| Week 9 | 60 min/day | Front-end frameworks or advanced interface layout and responsive styling. |
| Week 10 | 60 min/day | State management, user inputs, and form validation logic. |
| Week 11 | 60 min/day | Authentication flows, session tokens, and route security. |
| Week 12 | 60 min/day | Deployment pipelines, containerization, and hosting your app on a live domain. |
| Week 13 | 60 min/day | Performance optimization, query speed improvements, and documentation. |
| Week 14 | 60 min/day | Portfolio project polish, README file creation, and bug squashing. |
| Week 15 (Days 99-100) | 60 min/day | Final code review, public repository demonstration, and challenge completion log. |
What success looks like
- By day 50, you have built at least two independent utilities or web pages from scratch without following step-by-step video tutorials.
- By day 100, you have accumulated at least 100 verified daily entries in your public log and a continuous 100-day commit green square streak on GitHub.
- You can construct an application that takes user input, manipulates data through logic, and outputs a saved result without consulting introductory tutorials.
Where people quit
- Tutorial paralysis (days 7 to 14): Participants spend their 60 minutes watching lectures instead of writing original code, leading to panic when asked to build an empty-file project. Fix: enforce a strict rule where tutorial playback is paused after 15 minutes, and the remaining 45 minutes are spent typing variants of the pattern in an isolated terminal.
- The midnight scramble (days 25 to 35): Leaving the 60-minute session until late evening leads to missed days due to mental fatigue or schedule overruns. Fix: shift your coding block to early morning or schedule it directly before dinner as a non-negotiable appointment.
- Unrealistic scope (days 55 to 65): Attempting to build an entire software-as-a-service platform causes frustration and halts daily momentum when architecture stalls. Fix: decompose large feature sets into tiny, isolated functions that can be tested, completed, and committed within a single 60-minute block.
Variations
- 5-Day Workweek: Maintain the 60-minute daily rule Monday through Friday for 20 weeks, omitting weekends to accommodate family or shift-work demands.
- The 120-Minute Deep Work Variant: Double the requirement to two continuous 60-minute blocks per day for individuals preparing for technical job interviews.
- Advent of Code (/learning-challenges/advent-of-code) serves as a seasonal alternative focused on solving 12 daily algorithmic puzzles each December rather than building full software products.
Who should skip this
- Professional software engineers working 40 or more hours per week writing code: adding another daily coding hour increases the risk of mental burnout and repetitive strain injury.
- Individuals with active tendinitis, carpal tunnel syndrome, or severe wrist pain: the daily typing volume prevents tissue recovery and aggravates nerve compression.
- People dealing with erratic 14-hour shift rotations: the zero-day flexibility forces sleep deprivation, which impairs memory retention and logical problem-solving.
FAQs
Can you miss a day in 100 Days of Code?
No. Under the official rules established by Alexander Kallaway, skipping a calendar day breaks your streak and resets your count to day 1. If an emergency occurs, you can pause your public log, but completing the challenge requires 100 consecutive days of focused work.
Does watching video tutorials count toward 100 Days of Code?
No. Watching a video, reading documentation, or listening to technical lectures does not count toward your daily 60 minutes. The hour must be spent typing, running, debugging, and committing active code that you control.
Can I use code I write at my job for the challenge?
No. The rules explicitly require you to work on your own independent projects outside of work or school assignments. Code written for commercial employment or graded coursework does not satisfy the daily commitment.
What happens if I get stuck on a bug for the entire hour?
Debugging counts as coding. If you spend 60 minutes reading error traces, placing print statements, running tests, and attempting fixes, that session counts. Log the specific bug and what you tried in your daily public post.
100 days, starting whenever you say.
Leave your email and we send check-ins for 100 Days of Code. One click to unsubscribe.