+ 14
Just get rid of distractions.
+ 8
You have to concentrate and be discplined😉 Practise daily
+ 1
So as to focus on learning something, you have to learn it in an interesting way.
When it comes to learning programming, you must first get your concepts cleared and then follow some online platforms that lets you practice coding.
If you need an interesting platform for that, go for CodeFights. Here game mechanics are used in coding, thereby making it a fun to learn.
Give it a try.