10 Free Resources to Learn Coding Online
Updated: 5 days ago

Start with Harvard CS50x for broad programming foundations, freeCodeCamp or The Odin Project for a first website, or Exercism to practise a specific language. These resources have material you can access free. Certificates, exams or advanced exercises can cost extra.
Compare ten places to start coding
1. Harvard CS50x
A structured introduction to computer science and problem solving. Work through the early problem sets before choosing a language or framework to specialise in. Explore Harvard CS50x.
2. freeCodeCamp
Guided exercises and projects for web development. Start with responsive web design and publish a page that you can explain. Explore freeCodeCamp.
3. The Odin Project
A project-based web development curriculum. The Foundations course covers Git, HTML, CSS and JavaScript. Explore The Odin Project.
4. MDN Learn Web Development
A reference and learning path for web standards. Use it alongside a project to check how a browser feature is meant to work. Explore MDN Learn Web Development.
5. The Python Tutorial
The official Python tutorial. It is designed for people who already understand basic programming, so start with a gentler course if this is your first language. Explore The Python Tutorial.
6. Codecademy
Short interactive exercises for trying a language in the browser. Look for free courses in the catalogue, since some projects and paths require a paid plan. Explore Codecademy.
7. Khan Academy Computer Programming
Visual and interactive lessons for beginners. Try modifying a drawing or animation and explain what changed. Explore Khan Academy Computer Programming.
8. W3Schools
Short examples and browser exercises. Use it for quick syntax practice while working through a structured course elsewhere. Explore W3Schools.
9. Exercism
Language-specific exercises. Pick one track and revisit a solved problem after reading an alternative solution. Explore Exercism.
10. NPTEL
Engineering and computing courses from Indian institutes. Check the current course page for enrolment dates and any optional exam or certificate fees. Explore NPTEL.
A four-week practice plan
Week 1. Choose one course and work through variables, conditions and loops. Keep a small log of the errors you fixed.
Week 2. Build a small page or command-line program using functions. Write one sample input and the output you expect.
Week 3. Add a feature and test three cases, including an empty or invalid input. Use Git to save each working step.
Week 4. Share the project and write a short README with instructions and two things you would improve. If you used an AI assistant, explain how you checked the parts it generated.
