Truth be told, if you start a project of your own, and you are a young developer learning all by yourself, many of your projects will end up incomplete.
But guess what folks... making mistakes and failing a project is very import and quite natural. But a bad developer also makes mistakes and so does a good one; then what is there to differentiate between the two?
Well, the very desire and will to come back to the broken/incomplete code and fixing it is what will help you out in the long run. If you have noticed this, most of the stackoverflow questions are answered by people who had tried the same thing you did earlier and failed in doing so, but the only reason they are able to answer your doubts is because they spent their time and energy to find a way to make it work instead of abandoning the project.