Learn to Code

Step-by-step guides for people teaching themselves to code: choosing how to learn, setting up the tools every developer uses, and practicing until it sticks. Written for complete beginners by a bootcamp grad who still works in software.

Choose your path

PathTypical costTypical timeBest for
Free programs (freeCodeCamp, The Odin Project, CS50)$06–18 months, self-pacedTesting your interest; disciplined self-starters
Professional certificates (Google, Meta, IBM)Usually under $3003–6 months, self-pacedIT, data, and security roles on a budget
Certifications (CompTIA, AWS, Cisco)$100–$550 per exam1–3 months of study eachGetting past résumé filters for IT, cloud, and security jobs
Coding bootcamps$4,000–$22,5003–9 monthsCareer changers who want structure and career support
Online CS degreesFrom about $8,000 a year2–4 yearsAnyone without a bachelor’s degree who wants the strongest credential

On a tight budget? Our guide to the cheapest ways to learn to code compares free curricula, free tiers and low-cost platforms.

Tools and setup

Every developer uses the same core tools. Learn them early and everything after gets easier.

Git and GitHub for Absolute Beginners cover image

Git and GitHub for Absolute Beginners

Install Git, make your first commit, and push your code to GitHub, with plain-English explanations and the GitHub alternatives worth knowing.

Tutorials

Once the basics click, practice is what turns knowledge into skill. Our JavaScript tutorials are organized in the order to learn them: