9 subjects you can teach using Code!!

When you think of coding in the classroom, the first image that comes to mind is of computers, technology, maths and science.

At Code Club we not only believe in learning to code but the power of coding to learn. Kids have a number of interests and subject that they’re interested in so why wouldn’t we want to implement coding across the entire curriculum, so coders, volunteers and teachers alike can see the endless reach that coding has in our lives and as part of our learning.

Here are 9 subjects that you can code in for future scientist, musicians, artists, anybody really!

1. Languages

We know most of the amazing and insightful things that Scratch can teach us and our Code Clubs but did you know that Scratch has over 50 languages and Code Club lessons come in 28 languages! Learning French or Spanish? Challenge yourself by coding your blocks in another language.

2. Environmental studies

Coding the Rainbow Predictor project using a Sense HAT, kids can predict based on weather patterns when is the best chance to see a rainbow! With the right conditions programmed an LED rainbow will be displayed. How cool!

3. Space

Our record breaking 2017 Moonhack project taught over 28,000 kids about gravity and how it works! Coders using Scratch, Python or Scratch Jnr, demonstrated how it’s possible that a person on the Moon is able to jump 6 times higher than a person would on Earth, understanding the way gravity has an effect on how we move (and how astronauts move!) Register for Moonhack 2018 to be a record breaker yourself!

4. Geometry
This might be an easy one but in Scratch after making a simple square, you can create triangles, pentagons and hexagons. After coding your square, create another script for each shape, code in the steps and degrees to make the shape, and change the start button to T for triangle, P for pentagon or H for hexagon as the key to start the code.

5. Social science

Students and even teachers can create their own School Values Project to show an understanding of the values of their school and interact with these values in a creative way. Use this 5Ps or Growth Mindset project as an example, and create a project that relates to your own school!

6. English

Parts of speech when using scratch can be programmed to replicate the Mad Libs game, which prompt coders to insert adjectives and nouns when the coding asks for it! Here is an example of a Mad Libs game created using Scratch but why don’t try coding it in Python too!

Another English project is a dedication to mathematics and Code Club hero Ada Lovelace, the awesome Ada’s Poetry Generator, which uses Scratch to showcase the language of computers as Ada saw them!


Here at Code Club, we think all Scratch projects are beautiful, but you can also use both Scratch and Python to create art in the more traditional sense. Fractal Art, which uses lines and angles to create wonderful geometric pieces can be coded in so many ways but here’s the code we use:

The Flower Generator project lets you create flowers of different shapes and colours by making a ‘Draw flower’ block. Once you code the block, there are no limits to how you can adapt the project to create other interesting patterns and shapes!

Take your art to the next level by using free design program Blender, where you can create 3D models and animate them! We’ve already got 8 projects ready to go to create your own monkey party, rocket or snowman!

8. Music

Sonic Pi is our go-to music coding program. Learn to code by composing different kinds of music and genres, including classical and electric, creating your own unique sound by writing code instead of playing keys!

Another project that will get you in the music mood is our Binary Code project. Code your keyboard to play different notes, and turn it into a game, as you try to hit every note!

9. Geography

Test students and coders knowledge of world flags by programming Guess the Flag quiz! Kids can test themselves and each other on the flags of the world by creating their very own quiz.