How long does it actually take to learn web development?
Every answer online is either '3 months to a six-figure job' or 'ten years'. What's a realistic timeline for someone learning part-time alongside a job or degree?
Realistic ranges, assuming consistent part-time study of roughly 10–15 hours a week: 3–6 months to build simple sites on your own, 6–12 months to be genuinely job-ready as a junior, and 2+ years before you feel competent rather than constantly out of your depth. Full-time study roughly halves the first two numbers, not the third.
What those milestones actually look like:
- Month 1–2: HTML and CSS. You can build a static page from a design and make it work on mobile. This part is genuinely achievable fast.
- Month 3–5: JavaScript fundamentals. This is where most people slow down dramatically and many quit. Loops and functions are fine; the wall is usually asynchronous code, working with APIs, and thinking in logic rather than syntax. Budget more time here than you expect.
- Month 5–8: a framework (React is the safest default) plus real projects. Not tutorial clones — things with your own decisions in them.
- Month 8–12: a backend basics layer, a database, deployment, Git, and 2–3 portfolio projects that are actually finished and live on the internet.
The honest variables that swing the timeline:
1. Consistency beats intensity. Ten focused hours a week for a year beats forty hours in a burst followed by two months off. The people who get there are almost always the boring-consistent ones.
2. Building vs watching. Time spent following tutorials counts for maybe a third of time spent building something with no tutorial. If your hours are mostly video, add several months.
3. Whether you finish things. Ten half-built projects teach less than three finished ones, because the last 20% (edge cases, deployment, polish) is where the real learning lives.
The expectation to reset: 'job-ready' does not mean 'comfortable'. Almost every junior developer starts the job feeling underqualified and googling constantly — that is the normal experience, not a sign you learned wrong. Competence keeps arriving for years, which is why the honest answer to 'how long' is 'you never quite finish'.
If you want one number to plan around: 9–12 months of consistent part-time effort to a first job, if you build real projects and don't spend the whole time in tutorials.