See graphical/summarised post online on my Instagram, Facebook, Twitter, and other networks.

Make it a goal.

Take a moment to write the goal. Make sure the intent is attached to the goal. If possible, make sure you add a date of completion. Make sure that it is visible, like on a post-it note or an everyday task on your calendar.

For eg. I will learn JavaScript by 23rd August so that I can apply for frontend developer job at Acme Corp.

Timebox.

Wikipedia describes Timebox as

In time management, timeboxing allocates a fixed time period, called a timebox, within which planned activity takes place. It is employed by several project management approaches and for personal time management.

Timebox your learning.

If possible, learn every day, for the same duration. The best way is to put it on your calendar as a recurring reminder and at that point do nothing else but learn.

Even after the course is over, use the timeblock to read or learn something else until next course begins.

Remove all distractions.

This is pretty straightforward. Try learning when there aren’t any distractions. Like, in the morning, when there are fewer personal and professional distractions. And, since, the learning is online, keeping social network, email, and IM signed out will also help.

Create a learning habit.

Follow the timeblock daily. Make sure you follow it daily until it forms a habit. When it becomes a habit, it would become natural to engage in learning.

Take notes and read them before starting timeblock.

Every time you engage in learning, create notes of what you learn. It will help you to focus on your course.

Then, next day, read the notes again before starting the learning session. This moves the knowledge to your long-term memory and helps you start the course session efficiently.

Research courses.

Bonus point. Use the timeblock for researching courses before you kick-off learning.

Hope this page was helpful.