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

Dude, That's Rude! (Get Some Manners) by Pamela Espeland & Elizabeth Verdick

If there's one book today's kids need to read, it is Dude, That's Rude! (Get Some Manners) . The authors provide a fun format for teaching etiquette to children. They discuss proper behavior at home, at school, at other people's homes and in public places. The information is completely up-to-date with cellphone manners and netiquette included. Fun, cartoony illustrations are on practically every page giving the book great visual appeal. This book is perfect for boys and girls in the fourth grade or older. WARNING: Bodily functions are discussed.

Faces of the Moon by Bob Crelin

Faces of the Moon by Bob Crelin Illustrated by Leslie Evans Charlesburg; 2009; unpaged Faces of the Moon is a short nonfiction book that describes the different phases of the moon and why the moon appears like it does on certain nights. This book is short and sweet so even the youngest of moon lovers will enjoy it. The layout is simplistic and easy to follow. I don’t know much about the moon so I found it very interesting.

Review: The Factory

The Factory By Catherine Egan New York, NY : Scholastic Inc., 2025. Fiction. 306 pages.  Thirteen-year-old Asher Doyle has been invited to join the Factory, a secretive research facility in the desert which ostensibly extracts renewable energy from the electromagnetic fields of its young recruits. But Asher soon realizes something sinister is going on. Kids are getting sick. The adults who run the Factory seem to be keeping secrets. And the extraction process is not only painful and exhausting, but existentially troubling. Asher makes a handful of new friends who help him with an investigation that turns into a resistance, which turns into...a cliffhanger! The Factory is a page-turning sci-fi with multidimensional characters, an intriguing plot, and refreshingly straight-forward writing. Egan weaves in detail about climate crises and social unrest, making the story's dystopian setting feel rich and plausible. With its sophisticated themes and accessible storytelling, I would recomm...