BUGS (and how to fix them!)

An unavoidable part of learning to code is running into bugs, but learning how to fix them is a great way to develop a deeper understanding of your code! Read on to find out our tips and tricks for fixing bugs...

BUGS (and how to fix them!)

If you’ve ever tried coding before you’ve probably come across the dreaded “Bug.” A problem in your code making it either not work, or work in an unintended way. Now I don’t know about you but sometimes these can be a little tricky to find or fix. Luckily I have some tips for us all to help!

 

 

I always find talking through my problems is a really helpful way of understanding and sometimes fixing them. Programmers throughout the years have thought the same! Unfortunately (unless you’re in one of our sessions) it’s often difficult to talk to someone about them. This is where the rubber duck comes in. Explaining to the duck how your code should work does something in our brains to help with understanding! Also who can be mad at a silly little duck?

 

 

I’m not talking about setting your code on fire (believe me, I’ve tried, it doesn’t work) I mean adding small bits of code that provide an output to tell you whether a piece of code is working correctly or not! Think about having your scratch sprite say “I did It!

After a complex bit of code so you know it works, if they don’t say anything, you know that they failed somewhere along the line.

 

 

I’ve done it, you’ve done it. Writing the word “tree” as “tre”. So reading through your code, while being a tedious process, is a super useful tool we can use to improve our knowledge of the code, and any potential mistakes we make!

 

 

If you happen to be one of the amazing members of The Code Zone, you have access to our team of STEM certified mentors! Your mentor has plenty of knowledge that can help either diagnose or help fix any pesky bugs that pop up, either through the text chat, or during our live sessions!

 

Hopefully some of these help you in your coding journey, or maybe you have your own that you’d like to share with us? We’d love to hear from you if that is the case! 

Who wrote this

We run coding clubs for children aged 6 to 16, so the guides here are written by the mentors who teach them rather than by a marketing team. Live online clubs are open to children anywhere in the UK, and our in-person clubs run across Essex, Hertfordshire, Cambridgeshire and Suffolk.

A live club is one hour a week, in a group of no more than six, with the same DBS-checked, STEM-certified mentor.

Children build their own games rather than working through a set course, starting in Scratch or MakeCode and moving to Python and TypeScript when they are ready. More than a third of our members are autistic or have ADHD, based on what parents tell us when they join.

Mentors write a note on every child after every session, which is how we know when somebody is ready to move up a level or would rather stay where they are. Levels move down as readily as up. Nothing is forced, and staying put is a perfectly good outcome.

In 2026 we were ranked second in the UK in Club Hub UK’s Top 100 Children’s Activity Providers, scored by five independent judges on safeguarding, inclusivity and community impact, and in 2025 we received the Autism Inclusion Award from the National Autistic Society. Over 1,000 children are enrolled.

More like this

The blog is in two halves. Guides are the evergreen explainers written by the mentors who teach the clubs, covering the questions parents actually ask: what comes after Scratch, how to support a coding-mad child when you cannot code yourself, and what works for autistic and ADHD children.

Club news is the other half, and it is where posts like this one live: game jams, Minecraft builds and weekly roundups, written up by whoever ran the session. Neither is marketing. If you want to know what an hour actually looks like before you book anything, club news is the more honest read of the two.

The first session is a free taster and we do not ask for card details. Book a free taster session, see what it costs, or read about support for neurodivergent children.

Chat to our mentors