Yeah, but I guess everything takes practice, right? I think that when you started doing music you weren't that good as well (at least I'm not...), but after doing enough chiptunes you start to get the hang of it. With coding it should be similar!
Anyway, all that matters is having fun, and it sure looks you had it :)