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: Fowl Play

  Fowl Play By Kristin O'Donnell Tubb New York: Katherine Tegen Books, 2024. Fiction 277 pages. Still reeling from her beloved uncle's death, Chloe Alvarez is comforted and confused when at his last will and testament reading, Uncle Will gifts her his African Grey parrot, Charlie. Charlie has a robust vocabulary and loves to make Alexa requests for her favorite songs, but when she starts saying things like, "homicide," and "cyanide," Chloe becomes convinced that Uncle Will may have met his demise by murder instead of a genetic disease, as was previously thought. Ultimately, bringing in her brother, Grammy, and Uncle Frank (and of course Charlie,) Chloe's ragtag and adoring family support her search for answers ---going on stakeouts, engaging in fast pursuits, and searching for clues. But as the suspects stack up and the mystery grows, Chole will learn that the process of death and grieving is complicated, and in the end her Uncle Will's words that, ...

If You Like...KPop Demon Hunters

KPop Demon Hunters has been one of the most talked-about movies of the summer. If you loved this movie as much as I did, you don't want the magic (or the music) to stop. Try reading these books that touch on some of the same topics and themes as the animated hit! Brick Dust and Bones By M. R. Fournet New York: Feiwel and Friends, 2023. Fiction. 247 pages. Orphaned Marius works in the family business--as their cemetery's ghost caretaker. However, Marius also moonlights as a monster hunter in order to earn the costly Mystic currency he needs to bring his mother back from the dead. As the window to bring his mother back begins to close, Marius's exploits get more and more dangerous, and he may have set his sights on a monster too big to handle on his own. Like Mira, Marius longs for familial connection, and his work as a monster hunter will satisfy the thrill of demon hunting for fans the movie. Where's Halmoni? By Julie J. Kim Seattle, WA: Little Bigfoot, 2017. Comics. W...

Review: Kareem Between

  Kareem Between By Shifa Saltagi Safadi New York: G.P. Putnam's Sons, 2024. Fiction. 324 pages.  Kareem loves football and as he gets ready to start seventh grade he dreams of someday becoming the first Syrian American NFL player. Seventh grade is not off to a great start for Kareem, after football tryouts don't go as he had planned, his best friend moves away, and his mom returns to Syria to help bring his sick grandfather to the US for treatment. So when Austin, the quarterback and coach's son, offers to talk to his dad and get Kareem on the football team in the spring, if he will cheat and do his homework for him, Kareem agrees. Kareem really wants to fit in at school and he is desperate to find a friend, but deep down he knows that doing Austin's homework isn't the right thing to do. And to make things harder, Kareem's mom asks him to be a friend to Fadi, a Syrian Christian refugee. He knows he should stand up for Fadi and help him adjust to the new school,...