“What should I write?” The answer to this question is going to be different for everyone, but it is the hurdle which you must first overcome to work your way towards writing code every day. Usually people write code to solve problems that they have, but not everyone has problems to solve. There is usually a chicken and the egg problem. You need to write code to have coding problems, and you need to have coding problems to have something to write. So, where should you start?
Source: Write code every day – Brett.Is
For me, I start by having an end goal in mind. For example, when I started learning iOS, the starting goal was to have an app that tells me the location of the nearest bikeshops. With this in mind, I start my very first programming journey.