JavaScript for Kids


JavaScript is the programming language of the Internet, the secret sauce that makes the Web awesome, your favorite sites interactive, and online games fun! JavaScript for Kids is a lighthearted introduction that teaches programming essentials through patient, step-by-step examples paired with funny illustrations. You ll begin with the basics, like working with strings, arrays, and loops, and then move on to more advanced topics, like building interactivity with jQuery and drawing graphics with Canvas. Along the way, you ll write games such as Find the Buried Treasure, Hangman, and Snake. You ll also learn how to: Create functions to organize and reuse your code Write and modify HTML to create dynamic web pages Use the DOM and jQuery to make your web pages react to user input Use the Canvas element to draw and animate graphics Program real user-controlled games with collision detection and score keeping With visual examples like bouncing balls, animated bees, and racing cars, you



“Vibrant and visually engaging, with chuckle-worthy asides…instructive and kid-friendly.”
―School Library Journal, The Maker Issue

“I’d recommend this book for anyone in middle school through to retirement who wants to see what programming is all about, but wants a gentle, fun introduction.”
―IT World

“This exists and it looks awesome.”
―Khoi Vinh, Former design director

“An interesting kid focused JavaScript book from No Starch.”
―Peter Cooper, curator of JavaScript Weekly

“Has your child resolved to learn to code in 2015? Check out this new book.”
―Girl Develop It, Ann Arbor

“We had a JS workshop for kids 9-12 last Friday and it helped very much when it came to explaining various concepts―Nick is great! ”
―Kathryn Barrett, Ladies Learning Code

“May work well as the source material for something like Code Club.”
―Alex Young, Editor-in-Chief of DailyJS

“I wish I had had something like this when I was 10. The book is very thorough yet accessible.”
―Malte Ubl, Curator of JSConfEU

“Another winner from No-Starch Press.”
―Tim Cox, MagPi Magazine

“This is the kind of book I would easily recommend for the beginning Web coder.”
―Bismark Tribune

“Boy asks ‘Dad, can we do some NEW programming?’ So, we are now on Chapter 1 of JavaScript for Kids. ‘Dad, JavaScript is kinda fun.'”
―Kevin Stewart, Director of Engineering at Adobe

“I wish I had a book like this when I was learning programming over 20 years ago.”
―Tim Caswell, Nodejs hacker and teacher

“This book takes the mantle of the ‘Dummies’ series for learning complex subjects…highly recommended.”
―Becky Walton, MLIS, Ingram Collection Development

“A fantastic primer that is both immensely educational and wildly fun.”
―Outright Geekery

“Fantastic…one of the best and most comfortable introductions to a real and useful programming language we’ve seen.”
―Ric Getter for MacDirectory Magazine

“Whether you’re 10 or 110, this book can be a fun way to start learning how to code. This book doesn’t talk down to its audience, so no matter your age, if you’re looking for a relaxed and enjoyable introduction to JavaScript, this book is for you.”
―DevMountain, 10 best programming books

About the Author

Nick Morgan is a British front-end engineer at Twitter. He loves all programming languages but has a particular soft spot for JavaScript. Nick lives in San Francisco (the foggy part) with his girlfriend and their fluffy dog, Pancake. He occasionally blogs at

Additional information


Nick Morgan

Book Formats




Ideal age

9 Years and up