How to learn coding from YouTube: a study plan for beginners

Plenty of working programmers learned from free videos, and the courses on YouTube today are better than ever. What most beginners lack isn't material but a plan: which course, in what order, how much a day, and how to know it's actually going in. Here is a simple plan that works with any good free course.

1. Pick one language and one course

Python is a common first choice because its code reads almost like English, and it's used for everything from automation to data science. JavaScript is the natural choice if you mainly want to build websites. Either is fine. What matters is choosing one full beginner course and sticking with it, instead of starting five and finishing none.

2. Set a pace you can keep

Thirty to sixty minutes a day, most days, beats a long session every weekend. Look at the course length and pick a finish date: a 10-hour course at 45 minutes a day is done in about three weeks. Write the date down; better, give the course a deadline so you can see whether you're on track.

3. Never just watch: type every example

Coding is learned with your hands. Pause when the teacher writes code, type it yourself, run it, and only then continue. When it breaks, and it will, comparing your version with the video is some of the best practice you'll get.

4. Take short notes with timestamps

For each video, write the key ideas in your own words and keep the important snippets exactly. Add a timestamp next to anything you might need to rewatch. Here's a simple method.

5. Test yourself after every video

A few questions straight after a lesson show whether you understood it or just followed along. Getting one wrong is useful: it tells you exactly what to rewatch before the next video depends on it. On Studyio each chapter ends with a short quiz, and every answer links back to the moment in the video that explains it.

6. Build something small after each section

Once a section is done, make something tiny with it without the video: a number-guessing game after loops, a to-do list after lists, a page with your name after HTML. It will be harder than following along, which is the point.

7. Stay out of the feed

The hardest part of learning from YouTube is staying on the course. YouTube's recommendations aren't built for studying, so open your playlist directly, turn off autoplay, and keep sessions short and focused.

8. Finish, then go one level up

When you finish the beginner course, pick the next one in the same language: data structures, a framework, or a project course. Finishing one course properly makes the second much easier.

Beginner programming courses to start with

More in the best free Python courses and the best free web development courses.

More guides