Jump to ratings and reviews
Rate this book

Spaghetti Code: A Story About Problem-Solving, Pasta, and the Power of Big Ideas

Rate this book
USA Today Bestseller!

From supermodel-turned-coder Karlie Kloss comes a joyful tale about coding, perfect for future engineers and technology change-makers!

Kelly Kent loves spaghetti, and computer programming! So she’s more than ready to help Chef Amato build a pasta-making machine to create the perfect bowl of spaghetti for his new restaurant.

But when Chef can’t stop adding features to her coding machine, they end up with a tangle of “spaghetti code”. Kelly must unravel the code and fix the machine ― with your help!

Follow Kelly and her sidekick, Gadget, as they go on a coding adventure to make the perfect bowl of spaghetti in this inclusive stem-based picture book from supermodel and founder of Kode with Klossy.

40 pages, Hardcover

First published July 28, 2026

Loading...
Loading...

About the author

Karlie Kloss

4 books2 followers

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
17 (37%)
4 stars
14 (31%)
3 stars
14 (31%)
2 stars
0 (0%)
1 star
0 (0%)
Displaying 1 - 14 of 14 reviews
Profile Image for Ryan.
6,209 reviews34 followers
November 23, 2026
Sometimes people forget that supermodels also have brains. And it turns out that Karlie Klaus has a brain that likes to code. The object of the book is to make a machine or a robot that will make spaghetti. And we watch the character go through the trials and think their plan through on how to get a machine to make spaghetti. This was a pretty good lesson. And considering it was written by a celebrity a pretty good book. Plus the team that turned this into an audiobook also did a fantastic job. While I did understood the book while listening to it, this may be one of those where it would be helpful for kids to have the book with them so that way the illustrations can help them better understand the concepts.
Profile Image for Candice Luna.
20 reviews
Review of advance copy received from NetGalley
July 28, 2026

This is an ARC review for NetGalley. Below is how we rate books in my classroom. Each category is worth up to 1 full star.
⭐ Mrs. Luna-Velez's Storybook Stars ⭐
Earn Your Star By...
🎙️ Narration Star - The illustrations are beautiful and help tell the story.
📖 Story Star - The story is engaging from beginning to end.
💡 Message Star - The book shares a meaningful lesson or idea.
❤️ Heart Star - The characters make me care, laugh, smile, or think.
📚 Bookshelf Star - I'd happily recommend this book or read it again!


🎙️ Narration Star - One full star! ⭐ Karlie Kloss gave a well-paced and expressive performance. The background music and sound effects enhanced the story wonderfully.
📖 Story Star - One full star! ⭐ The writing is engaging, and the plot highlights the power of perseverance. Kelly's determination to keep trying, even when her code doesn't work, sends a positive message about resilience and problem-solving.
💡 Message Star - One full star! ⭐The story follows a determined girl who explores different solutions, showing that persistence and creative thinking can lead to success.
❤️ Heart Star - One full star! ⭐I quickly found myself invested in Kelly's story. Her determination and heart made me smile from beginning to end.
📚 Bookshelf Star - One full star! ⭐I would read this book again.

That’s a five-star review!
Profile Image for Julianne Harkleroad.
893 reviews5 followers
Review of advance copy received from NetGalley
July 23, 2026
"Coding is like cooking. She just has to figure out the right steps to get the outcome she wants."

I am so impressed! This playful, fun story gives kids a peek into the scientific process of individualizing each step and variable, paying strict attention to each, so the end result can be replicated perfectly. Staring Kelly, a thoughtful young girl who knows how to code, and her dog Gadget, Spaghetti Code follows Kelly's attempt to code a hand-built machine that will hopefully help her neighbor. Kids learn that coding is typed instructions for machines to follow- commands, refractions, and even deleted lines of unused code- all double checked for accuracy. Through trial and error, she learns to adjust, tweak until the resulting pasta is perfect, and even take a break when she needs to- all excellent lessons for cooking and life! This book is educational, funny, and encouraging!

"Her code is starting to look like a tangled spaghetti."

Karlie ends the book with a quick explanation of what coding is, a few ways it's used, and even that spaghetti code is a real phrase! I knew Karlie Kloss was a gorgeous super model, but she can code too?! Talk about being a triple threat!

Thank you to Macmillan Audio and NetGalley for this ARC!
Profile Image for Katie Freeman.
32 reviews3 followers
July 24, 2026
I listened to this audiobook with my seven-year-old daughter. We both really enjoyed this! The sound effects were great and the narrator did an excellent job. My daughter loved Kelly and wanted to hear more about her coding and creating. I was happy to hear Kelly go through difficulty and face challenges but overcome them! It shows a good example to keep trying and not give up. We loved this one!
Profile Image for Amy.
3,884 reviews38 followers
August 24, 2026
A fabulous book to add to your STEM collection! Kelly is trying to help Mr. Amato build a machine at his restaurant to make the perfect bowl of spaghetti, but it will take patience, problem-solving, coding, building, and determination. One of the best books I've seen about coding...and I love that the main character is female!
Profile Image for Anna.
614 reviews2 followers
Review of advance copy received from NetGalley
July 27, 2026
I received an advance listening copy from NetGalley for my honest review.

This audiobook was great. I loved that it has atmospheric sounds. The narrator did a fantastic job. The story was very cute. I loved the stem for children.
Profile Image for J New.
1,595 reviews1 follower
Review of advance copy
July 18, 2026
This would be a great book for older kids as it includes coding
Profile Image for mae.
53 reviews
August 20, 2026
got a signed copy as a birthday gift from by best best friend bc i am in fact obsessed with karlie kloss and i have to admit this is a very cute and cool book. i just love women in stem <3
1 review1 follower
September 2, 2026
Great

Great Book, well written and very useful. The illustrations and designs are very beautiful too, My daughter loved all of it!
Profile Image for Ms. Nigeria Parker.
452 reviews1 follower
September 5, 2026
I enjoyed this book. I actually wished it was longer. I guess it's the CIS in me or the Chef🤷🏾‍♀️👩🏾‍🍳. But I thoroughly enjoyed how the author put both together eloquently.
Profile Image for Justyna.
595 reviews11 followers
July 28, 2026
Educational, playful, engaging, and encouraging, A great intro for young readers of basic coding concepts that shows how instructions, testing, troubleshooting, and problem-solving all play important roles in creating something that works.

I thought one of the biggest strengths of the book was its positive message about mistakes - trial and error, setbacks are a natural part of the learning process and persistence, patience, and even taking a break can help solve difficult problems. The concept of "spaghetti code," showing how problems can become tangled when ideas/solutions aren't organized, in a fun and entertaining way. "Coding is like cooking. She just has to figure out the right steps to get the outcome she wants." Thought this was such a great and relatable comparison making coding easy for children to understand.

Karlie Kloss did a wonderful job narrating and bringing the story to life, and the sound effects add an extra layer of fun and immersion.

Thank you NetGalley and Macmillan Young Listeners for the ALC.
Displaying 1 - 14 of 14 reviews