Enjoy yourself – Learning to code should be fun as well as challenging. Once you’ve mastered the basics, try to develop one of your own ideas for a game or an app. If you’re stuck for inspiration, try and write something that already exists like a game of Space Invaders or Tetris. This will help you develop your skills of breaking down a task and planning the steps required to achieve your goal.