Choose your coding language to see a selection of fun and challenging projects for everyone, from beginners to experts.
Coding in Scratch is easy, and it’s a great place to start if you’ve never done any coding before. Even from your first day you’ll be making something that works, and soon you’ll be ready to start on more complex projects or even code with some hardware like our Micro:Bits.
To get started in scratch, go to scratch.mit.edu. It’s best to create an account so you can save your work and share your projects. Then try out some of the challenges below!
- Shark-eating fish game—For those who want a walkthrough to get them started, here you can learn the basics of coding with Scratch. Perfect for those with absolutely no coding experience
- Lost in Space—Create your own space mission and get the rocket safely back to Earth
- Ghostbusters—The ghosts are loose, so create a game to catch them all
- Dance Party—Stick code together to make your very own dance party in this simple tutorial
- Pattern pen—For those familiar with scratch and looking for a walkthrough of some more complex code, here you can create some awesome patterns using the pen tool
- Dodgeball—Can you get to the end of the level without being hit by one of those big red balls?
- Brain Game—Create a quiz to challenge yourself and your friends
- Catch the Dots—Try your hand at this tricky puzzle game
- Clone Wars—Save the Earth from space monsters in your take on the classic Space Invaders
- Create Your Own World—Build your own world from scratch, then go out and explore it. What will you make?
- Chatbot—Create your very own talking robot
- Boat Race—Escape to a desert island on your trust speedboat... but you’ll need to navigate the maze to get there!
- Dance Party 2—Take your dance party to the next level and play with dance crews, speeds and new moves to create the party of the decade
- Advanced Scratch—For those who know their way around Scratch, here you can create a platformer video game which you can develop and expand on your own. Next stop, Super Mario!
- Catch the Farts—Build a game where you catch the farts from cows to try and help stop global warming
- CATS—Lead the cats to safety before they fall to their doom
- Flower Generator—Create designs and patterns using beautiful flowers of different shapes and sizes
- Guess the Flag—Do you know the flags of the world? Find out in this quiz...
- Lineup—Create your own version of ‘Where’s Wally’ and search for your character before the time runs out
- Flappy Parrot—Make your own version of the classic ‘Flappy Bird'—this time featuring a parrot
- Binary Hero—Be a guitar hero as you try and play music notes as they fly across the screen
Minecraft is more than an awesome game; it’s also an awesome way to learn to code! It uses ‘blocks’ that are similar to Scratch, so it’s perfect if you’ve done a bit of scratch before and want to use your skills to create your very own worlds and have some blocky adventures.
- Minecraft Aquatic Voyage—Use your creativity and problem solving skills to explore and build underwater worlds with code
- Minecraft Adventurer—Use code to take Alex or Steve on an adventure across the world
HTML is the code we use to build and design websites. Start with the basics and pretty soon you’ll be creating your very own website on whatever topic you like. Next you’ll go one step further and make your website interactive—you could even try building a game!
To get started with HTML, go to trinket.io/home and select 'New Trinket—HTML'. If it’s your first time you’ll need to create an account.
- Beginner HMTL/CSS—Learn how to code your first website by building a website about your home country and tell us all about where you come from
- Birthday Card—Make a personalised card for someone you love, maybe to wish them happy birthday or to say thank you
- Wanted!—Learn how to style and design your webpages using CSS by creating your own wanted poster
- Magazine—Design your own magazine about whatever you like
- Recipe—Share your favorite recipe with your friends by putting it up on a web page
- Story Time—Tell a story by writing your own comic strip
- Intermediate HTML/CSS—Improve an existing web page, like the one you’ve already built about your home country! Here we’ll make that website look much nicer and make it much more fun and interactive by using CSS.
- Saving the Planet—Create a website to tell everyone about something you care about, like protecting birds
- Build a Robot—Design your own robot by learning how we can use CSS to design webpages
- Sunrise—Learn how to make your webpages move by animating a sunrise
- Advanced HTML/CSS—Polish your website into a professional site that features great layouts, cool effects and even looks great on mobile phones
- Zombie Map—Create a map of your local area and mark on important places to help you survive in case the dead come alive
- Zombie Survival—Once you’ve made your map (above), create a game where you need to avoid zombies and collect the power-ups by running around outside using the GPS on your phone
Python is a great language for those who have some experience with other coding languages, such as Scratch or HTML, and are looking for a new challenge.
- Tina the Turtle—Use code to control Tina the turtle and draw anything you can imagine! A great project for first-timers to Python
- Turtle Snowflakes—Get into the spirit of winter and get Tina drawing snowflakes
- About Me—Write a program that will tell people all about you, and draw some pretty pictures for them
- Rock Paper Scissors—Make this classic game in Python and see if you can beat your computer
- Team Chooser—Take the stress out of picking teams by building a program to do it for you
- Password Generator—Find out how secure your passwords are and code a program to give you some better, more secure ones
- Popular Pets—Find out and display which pets fellow Ninjas at the dojo like. You don’t have to pick pets—maybe you’re more interested in which flavor of ice cream everyone prefers instead
- Colourful Creations—Get creative as you learn to how to choose from over 16 million colours
- Modern Art—Get your computer to make it’s own artistic masterpieces. Maybe it’ll draw something worth millions!
- Turtle Race—Will Tina the Turtle will take home the trophy in this racing game? Ready, set, go!
- Code-Craft—Create your own personalised version of Minecraft by editing the code to change the map, add in new resources and even create new items to craft. What will you add?
- Secret Messages—Encrypt your messages to your friends so no-one can read them (not even your parents)
- Story Time—Write your own fairy stories, featuring you as the main character
- Robo-Trumps—Decide whether my robot is better than your robot in this Top Trumps style game
- Secret Agent Chat—Encrypt your messages with even more advanced codes that are truly unbreakable, even by experts
- Astronaut Indicator—Learn about APIs and how they can help you see exactly who is up in space right now
- Space Station—Go one step further and track exactly where the space station is at any one time
- Deck of Cards—Build a deck of cards that you can use to play your favourite card games
- Insult Generator—You’ll never be lost for words again with this handy insult-generating program, you villainous miscreant
MicroBits are small computers which we can control using code, and we can use them to bring our code out into the real world. We have some here at the Science Museum’s Dojo every week for you to borrow, so come and sign one out.
Microbits run on Scratch, so it’s best to have some experience of Scratch first. To get started with coding your MicroBit, go to makecode.microbit.org.
- Flashing Heart—Get the lights on your MicroBit working by making a flashing love-heart
- Name Badge—Get your MicroBit showing your name in lights
- Smiley Buttons—Make your MicroBit happy or sad by pushing its buttons
- Dice—Use your MicroBit to play games when you don’t have any dice around
- Love Meter—How much do you like your friends? Find out by building a love meter
- MicroChat—Get two MicroBits talking to one another by using radio
- Rock Paper Scissors—Challenge your friends and their MicroBits to a game of Rock Paper Scissors
- Coin Toss—Settle arguments by flipping a coin... on your MicroBit
- Smiley Radios—This time, make your friend’s MicroBit happy or sad by pushing the buttons on yours
- Multi-Dice—Once you and a friend have built your dice, see who rolls the highest
- Hot Potato—Play digital hot-potato with your friends. Don’t be holding it when the time runs out
- Snap the Dot—Test your reaction speeds and try and catch the dot
- Hot or Cold—Set up a treasure hunt with your friends and follow the clues on your MicroBit find the hidden treasure
- Red Light Green Light—Play this classic game with your friends using MicroBits
- Crashy Bird—Recreate the infamous game Flappy Bird, this time on a MicroBit