Categories: GeekMomTechnology

Learn to Program While Carving a Pumpkin

Khan Academy Jack-O-Lantern Coded by Maryann Goldman. Image: Khan Academy

Did you miss out on carving your very own pumpkin this Halloween? Did you see everyone’s jack-0-lanterns when you were out trick-or-treating on Halloween and wish that your carvings looked as good as theirs did? Well, it’s not too late to carve your own pumpkin while learning a bit about programming in the process. Khan Academy has created a Pumpkin Coding Contest where you can use JavaScript to create a virtual jack-o-lantern. You can start out with their basic template and then modify it to your heart’s content.  Or, you can start out with someone else’s program and modify it by creating a spin-off. Don’t like the template? Then dazzle the Khan Academy programming community with a whole new look. No matter what method you choose, you’re bound to create a masterpiece.

I created a basic jack-o-lantern with a purple face using the template. Then, I found a pumpkin which simulated the Khan Academy tree and hand logo, and I used it to create a Happy Thanksgiving turkey-themed pumpkin. I changed the leaves in the logo to multi-colored turkey feathers, and I added a head and face. Thanksgiving will be here before you know it! I’ll have to check back and see if anyone does a spin-off of my turkey to make it even better.

Khan Academy Turkey Pumpkin Coded by Maryann Goldman. Image: Khan Academy

There were several other really awesome pumpkins including a TARDIS pumpkin, a Ghostbusters pumpkin, and a Minion pumpkin. Check them out and vote for your favorite. Or, create your own. Your only limit is your imagination and, well, maybe your programming skills. Don’t worry, though. Not up to coding in JavaScript yet? Check out the full Khan Academy Computer Programming course. My boys, ages 10 and 12, took the course with me about six months ago. It was a lot of fun and gave the kids a great kick-start to programming. You’ll soon be on your way to creating cool programs too.

Liked it? Take a second to support GeekMom and GeekDad on Patreon!

This post was last modified on November 23, 2017 2:12 am

Share
Published by

Recent Posts

Skye Sweetnam, Sumo Cyco, and the Power of Community

Like many others, I jumped directly into my Apple Music Replay this year filled with…

December 17, 2025

GeekDad/GeekMom Holiday Gift Guide 2025: Stocking Stuffers

It's time to stuff the stockings that were hung with care with our must-have stocking…

December 15, 2025

GeekDad/GeekMom Holiday Gift Guide 2025: Clothing and Everyday Essentials

It's time to get styling and stocking up on everyday necessities that we think you…

December 10, 2025

GeekDad/GeekMom Holiday Gift Guide 2025: Gadgets

Every geek loves a new gadget. Here’s a selection from the GeekDad and GeekMom writers,…

December 9, 2025

Get Started Resin Printing With the HALOT-X1

If you enjoy 3D printing with filament and are interested in something new, resin printing…

December 1, 2025

Catch The xTool M1 Ultra Multi-Tasking Laser on Black Friday Sale

After spending some time with xTool's M1 Ultra, the other tools in my maker arsenal…

November 26, 2025