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: 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...

If You Like...Ladybugs

Spring is almost upon us! We'll have more rain instead of snow, flowers will start blooming, and more bugs will be out. Ladybugs are some of the prettiest insects--and the least intimidating for those more wary of bugs. If you like ladybugs, check out these books! Ladybugs Do Not Go to Preschool Written by Ali Rutstein Illustrated by Nin̋a Nill Richmond, VA: Bright Light, 2024. Picture Book. Ravi loves ladybugs--he eats aphids instead of cornflakes for breakfast, brushes his mandibles instead of teeth, and has a ladybug costume complete with wings and antennae. He is certain that ladybugs don't have to go to preschool, and when Mom says that Ravi still has to go to school, he is nervous. However, thanks to Mom's patience and gentle encouragement, Ravi makes some new friends and realizes that preschool might be a good place for ladybugs after all. A Perfect Spot By Isabelle Simler Grand Rapids, MI: Eerdmans Books for Young Readers, 2022. Picture Book. A ladybug is ready to ...

You Need to Read: Percy Jackson

I was a kid myself when  The Lightning Thief  by Rick Riordan was published, and it didn't take long for the Percy Jackson series to take the world by storm. Being the son of a Poseidon, Percy Jackson has some unique challenges as a half-blood. Here's some books that I think could've helped Percy when he was on his adventures trying to save the world: Greeking Out: Heroes and Olympians Written by Kenny Curtis and Jillian Hughes Illustrated by Javier Espila Washington D.C.: National Geographic, 2024. Informational. 191 pages. Percy, I know Chiron did a good job teaching you about mythology in Latin class, but this book is sure to be good to have on hand while you're traveling across the United States. Greeking Out  is written in a kid-friendly voice with vivid illustrations and a sometimes-snarky tone (much like Percy himself). It also presents real-life creatures and places along with the information about Greek mythology. The Homework Squad's ADHD Guide to School S...