Skip to main content

How to Code a Sandcastle

Cover image for How to code a sandcastle

How to Code a Sandcastle
by Josh Funk
illustrated by Sara Palacios
New York, New York : Viking, 2018. ©2018


Pearl is a young girl struggling to build a sandcastle before it gets knocked down. She decides to have a robot build the sandcastle for her, but quickly finds that she has to give him very specific instructions, otherwise things get out of hand. She gives him the instructions in code, walking though each step on how to set up a basic code with a loop, a sequence, and an if-then-else command. She works through her errors, and by the end of the book Pearl and her robot have built a sandcastle kingdom. 

This book is a simple introduction to what coding is and how it works. Sponsored by the Girls Who Code organization, it teaches basic coding instructions like 'sequence' and 'loop' in a way that makes sense for kids new to the language of coding. It also showcases how coding isn't a foolproof method, and shows Pearl working out the problems her code creates. The helpful instructions in the back of book explain the concepts of sequence, loops, and if-then-else in a way that kids can easily understand. 

Comments

Popular posts from this blog

Review: Umami

  Umami By Jacob Grant New York: Viking, an imprint of Penguin Random House LLC, 2024. Picture Book. Umami is a little penguin who is sick of eating the same thing everyday, cold fish --ugh! She becomes determined to find new foods and flavors, so Umami begins a journey across the sea in search of something different to eat. She reaches a place with a plethora of delicious options, and tries bitter, sweet, sour, and foods with umami (just like her name!) among others. Umami decides to bring all these delicious new flavors back for the other penguins to try in a feast. But, will the other penguins enjoy this new experience?  Filled with charm and humor, Umami is a diverse romp through a universal experience --am I willing to try something new? What will it be like? The idea of trying new foods and flavors make it especially relatable, and the appealing illustrations will have many readers ready to hop out on a culinary adventure. A humorous and sweet ending, caps off this delig...

Review: Faker

Faker By Gordon Korman New York: Scholastic Press, 2024. Fiction. 214 pages. 12-year-old Trey is used to starting over at a new school -- he has the routine perfectly memorized: make new friends, introduce his dad to the wealthy parents of his new friends, and "Houdini" themselves out of there before they get caught running their latest scam. Trey's dad is a master con artist, and Trey has just been promoted to full-partner. Their new scheme for the next big score brings them to the affluent suburb of Boxelder, TN where Trey's dad has cooked up a fake electric car company for investors to buy into. The only problem is that Trey is starting to grow tired of moving around and never putting down roots, especially after forming a fast friendship with Logan and developing a crush on Kaylee, a socially conscious girl in his class. As Trey longs for a normal life, is there any way he can convince his dad to get out of the family business? Gordon Korman is a perennial favorit...

Five Faves: Picture Books with Festive Treats

In my family, December marks the beginning of the holiday season, where we get to spend time together and do all of our favorite traditions. And, of course, eat lots of yummy food. I love that holidays look different for different families, but so many families have special foods they eat during the holidays. These are some of my favorite picture books about families making (and eating!) special holiday treats. These books might even give you new ideas of festive treats to try! The Last Tamale Written by Mendiola Orlando Illustrated by Teresa Martinez New York: Harper, 2024. Picture Book. Once a year, Luis' whole family gets together for their annual tamalada -- a party where they make tamales using a super-secret recipe. It's all love, family, and tradition until there is only one tamale left. Who will get it? It's an all-out family battle to decide who gets the last tamale. Colorful and humorous, this story is perfect for the holidays or whenever your family likes to enjo...