Girl ScoutsCadetteGrades 6-8
Coding for Good 1: Meme Maker
Code a meme maker
Call functions with arguments to change a face and its captions, learn how memes spread and how to keep them kind, plan a meme function in pseudocode, write a drawMeme function anyone can reuse, then use it twice and share your meme. Covers all five steps of the Cadette Coding for Good 1 badge.
- Time
- About two and a half hours, in two or three sittings
- Steps
- 5 badge steps, 4 of them in Glassbox
- You need
- A computer or Chromebook with a mouse or trackpad and a keyboard. Printing is optional: every step works on screen. No account needed.
Badge requirements: the 5 steps
- 1Learn functions and argumentsIn GlassboxA function is a set of steps with a name. Calling it means running it: you write its name, then the arguments, the values it should use this time, inside ( ). Change the arguments and the same function makes something new.
- 2Explore how memes are madeRead and quizA meme is a picture people reuse with new words, so a joke spreads and changes as it goes. Learn how memes work and how to make ones that are kind.
- 3Write pseudocode for a memeIn GlassboxPseudocode is a plan in plain words, one step per line, written before the code. Write yours as comments in meme.js: notes for people that the computer skips.
- 4Create shareable codeIn GlassboxTurn your plan into a function anyone can reuse: drawMeme(top, bottom, mood). One call, and a whole meme appears.
- 5Share your memeIn GlassboxUse your function twice to make two memes, then share your meme with someone and talk about what makes it kind.
Work on a computer. The apps need a keyboard and a bigger screen than a phone: a laptop, desktop or Chromebook. You can pay here and open the emailed link on the computer.
One scout
Unlock the kit, $5
- All 5 steps, worked on screen, with a lesson you can print if you like paper
- Glassbox activities that check the work as it is done
- A numbered certificate with a page of the scout's own work: your meme idea, your pseudocode and who you shared your meme with
Have a discount code?
Leaders: unlock it for the whole troop
One payment and one code. Each scout types the code to unlock the kit on their own computer, and gets their own certificate at the end. Your pack page shows who has started and finished.
See a sample certificate (PDF) · Already paid? Find your link
Girl Scouts badge names and steps are used with permission of Girl Scouts of the USA. This kit is made by MYTEK Lab; the badge is awarded by the troop.