Wednesday, October 8, 2014

4 Keys to Learning to Code (without smashing your screen in frustration)

Anyone who says coding is easy is lying.

I am a calm person, but there are still times I get so frustrated when my code won't work that I almost scream!

Thankfully, the constant excitement and thrill of bringing ideas to life more than make up for the difficulties.

With that in mind, here are 4 tips to ensure you a pleasant journey as you learn to code.

1. Practice, Practice, Practice

Malcom Gladwell said, "Practice isn't the thing you do once you're good, its the thing that makes you good".

Simply watching videos and reading books wont make you a good coder. You need to practice writing code!

Code Avengers lessons and projects give you all the practice and feedback you need to master the fundamentals of coding.

Code Avengers tip

If a lesson is difficult the first time, we recommend you repeat it by clicking index in the bottom left corner, then clicking the lesson reset button.

2. If You're Stuck . . . Take a Break

If you've tried everything and your code still doesn't work . . . take a 15 minute break. There's a very good chance that when you come back you'll find your mistake immediately.

I know from experience this works!

Code Avengers tip

When you're stuck, don't forget to use the hint buttons that appear next to each instruction, and to study the example code and video explanations.

3. Embrace Your Mistakes

As James Joyce said, "mistakes are the portals of discovery".

Don't be afraid to explore and experiment, so you can learn from the mistakes you make along the way.

Code Avengers tip

If at any time your code gets seriously messed up, you can always press the reset button to auto-magically clean your code up!

4. Google is Your Friend

Even after 10+ years of coding, you wont know everything. Thankfully there's someone who knows almost everything . . . Google!

With the help of Google you can find the answers to many problems in tutorials, code references, and Q & A sites like

Code Avengers will unlock the skills you require to make effective use of the wealth of coding resources available for free on the web.

Code Avengers tip

You don't have to remember all the commands all at once! Hundreds of code examples are just a click away with our interactive reference (click the link in the bottom left).

OK... enough reading... it's time for you to get back to coding, so you can... Unleash Your Coding Genius!

Return to coding with Code Avengers


  1. Thanks for sharing this. Yes, coding sometimes becomes too difficult and following the above tips can help to retain the enthusiasm.

  2. Thanks for the tips==the reminders--take a break--it will come. I look forward to learning from you. Teaching is an art as well. I am sure you will change your styles or evolve as natural process....

  3. Speaking of BREAKS... my brain is fried at the moment. I think I really need to take my own advice and go for a long run. Coding really can fry your brain sometimes, even when you've been doing it for 15+ years!