How to Code a Sandcastle

Author Josh Funk
Illustrated by Sara Palacios
Look inside
From the computer science nonprofit Girls Who Code comes this lively and funny story introducing kids to computer coding concepts.

All summer, Pearl has been trying to build the perfect sandcastle, but out-of-control Frisbees and mischievous puppies keep getting in the way! Pearl and her robot friend Pascal have one last chance, and this time, they’re going to use code to get the job done. Using fundamental computer coding concepts like sequences and loops, Pearl and Pascal are able to break down their sandcastle problem into small, manageable steps. If they can create working code, this could turn out to be the best beach day ever!
With renowned computer science nonprofit Girls Who Code, Josh Funk and Sara Palacios use humor, relatable situations, and bright artwork to introduce kids to the fun of coding.
SARA PALACIOS is the recipient of the Pura Belpré Illustrator Honor Award for her work on Marisol McDonald Doesn’t Match and has illustrated many picture books for children. Sara earned her B.F.A. and M.F.A. degrees in illustration from the Academy of Art University in San Francisco where she lives with her husband. View titles by Sara Palacios

About

From the computer science nonprofit Girls Who Code comes this lively and funny story introducing kids to computer coding concepts.

All summer, Pearl has been trying to build the perfect sandcastle, but out-of-control Frisbees and mischievous puppies keep getting in the way! Pearl and her robot friend Pascal have one last chance, and this time, they’re going to use code to get the job done. Using fundamental computer coding concepts like sequences and loops, Pearl and Pascal are able to break down their sandcastle problem into small, manageable steps. If they can create working code, this could turn out to be the best beach day ever!
With renowned computer science nonprofit Girls Who Code, Josh Funk and Sara Palacios use humor, relatable situations, and bright artwork to introduce kids to the fun of coding.

Author

SARA PALACIOS is the recipient of the Pura Belpré Illustrator Honor Award for her work on Marisol McDonald Doesn’t Match and has illustrated many picture books for children. Sara earned her B.F.A. and M.F.A. degrees in illustration from the Academy of Art University in San Francisco where she lives with her husband. View titles by Sara Palacios

Three Penguin Random House Authors Win Pulitzer Prizes

On Monday, May 5, three Penguin Random House authors were honored with a Pulitzer Prize. Established in 1917, the Pulitzer Prizes are the most prestigious awards in American letters. To date, PRH has 143 Pulitzer Prize winners, including William Faulkner, Eudora Welty, Josh Steinbeck, Ron Chernow, Anne Applebaum, Colson Whitehead, and many more. Take a look at our 2025 Pulitzer Prize

Read more

Books for LGBTQIA+ Pride Month

In June we celebrate Lesbian, Gay, Bisexual, Transgender, Queer, Intersex, and Asexual + (LGBTQIA+) Pride Month, which honors the 1969 Stonewall riots in Manhattan. Pride Month is a time to both celebrate the accomplishments of those in the LGBTQ+ community and recognize the ongoing struggles faced by many across the world who wish to live

Read more