I also started with ZX81. For a while, I didn't have a cable for tape recorder. A couple of magazines came with my ZX. Inside, there were some listings of games in BASIC. So, to play a game, a had to retype the code every time I restarted the computer. After a while, I started changing the code to see what will happen.
That's how I learnt to code.