Intro to Computer Programming
Is this course right for you?
The smart choice here is the drawing canvas: you write a loop and immediately see it move something on screen, which keeps beginners going where a blank console loses them. It is deliberately gentle and slow, so it is more about confirming you enjoy coding than covering ground fast.
It will not get you developer-ready and stops at the basics of JavaScript, with no modern tooling, frameworks or certificate. The material is older and uses Khan's own editor rather than a real-world setup, but the fundamentals it teaches are unchanged (as of 2026). Treat it as the on-ramp, then move to something like freeCodeCamp once you are hooked.
Compare alternatives for Intro to Computer Programming
- Price
- FreeCompletely free, forever
- Duration
- 15 hrs
- Level
- Beginner
- Certificate
- Price
- FreeCompletely free, forever
- Duration
- 300 hrs
- Level
- Intermediate
- Certificate
- Course Certificate
- Price
- FreeCompletely free, openly licensed — no certificate
- Duration
- 35 hrs
- Level
- Beginner
- Certificate
- Price
- FreeAudit free · paid verified certificate
- Duration
- 150 hrs
- Level
- Beginner
- Certificate
- Professional Certificate
About this course
Khan Academy's Intro to Computer Programming uses JavaScript and a visual drawing canvas to teach programming fundamentals — variables, functions, loops, and conditionals — in a way that gives immediate visual feedback, making it especially effective for complete beginners, including younger learners. Rather than abstract console output, students see their code directly produce drawings and simple animations.
Instructor
Produced by Khan Academy, a nonprofit educational organization whose computer programming curriculum has introduced millions of beginners, including school-age students, to coding fundamentals.