beanz Magazine

How to Make Kittens with JavaScript

Learning how to make kittens with JavaScript is a great way to learn how to use the free Chrome web browser to practice and learn JavaScript.

A subscriber recently suggested the magazine include kid-centric tutorials for Javascript and keeping it fun. Well, kittens are fun so JavaScript and kittens likely meet the criteria.

This tutorial is adapted from an excellent book, JavaScript for Kids, published by No Starch Press, pages 7-9. While you don’t need the book to do the tutorial, buy the book if you’re interested to learn much more about JavaScript in a way kids and non-technical people understand.


The best part? You only need a Google Chrome web browser which is free and easy to find at, if you don’t have it already on your computer.

Set Up

To get started, you’ll open your Google Chrome web browser, open a blank web page, and then open the coding console for the browser.

  1. First, open your Chrome web browser on your computer, You should see a default page with the Google search field.
  2. In the URL field type about:blank and press the Enter key on your keyboard to display a blank page.
  3. Display the coding console. If you use Windows or Linux, hold the Ctrl and Shift keys down as you press the J key. If you use a Mac, hold the Ctrl and Option keys as you press the J key.

Your Chrome web browser should look like this:

Google Chrome with blank page and coding console


Notice the Console tab is one of many tabs, the farthest right tab. Click the Console tab if somehow you get lost. For this tutorial, you only need to use the Console tab.

Let’s Warm Up

Before we make fresh warm kittens with JavaScript, we’ll start with a few simple math problems to show how JavaScript, the coding console, and your Chrome web browser work together.


Become a subscriber and get access to the rest of this article. Plus all our magazine articles.

Stories also include numerous links to help parents, kids, and teachers learn more. Get access today at just $15 per year!

Subscribe Today!

Also In The October 2015 Issue

October 2015 Issue: Internet of Things (IoT)

The Internet of Things (IoT) connects dumb devices like refrigerators to the internet and uses software to connect them to our daily lives.

There are many operating systems for internet of things devices, from existing software used to control electronic boards to efforts by Google and Apple.

Disney Infinity 3.0, Rocket League, and Super Mario Maker are three fun video games to consider for the 2015 holiday season

You can learn a little software programming and have lots of fun with any number of coding apps available for your phone or tablet computer.

Operating system software is a key part of all computers. But what are they and how do they work?

Learning how to make kittens with JavaScript is a great way to learn how to use the free Chrome web browser to practice and learn JavaScript.

Working through a book can help parents learn programming with their kids or kids learn on their own.

Board games and card games are some of the best ways to learn about programming. You don't need a computer. Play as a family or group.

These robots also can be programmed to move around rooms, one way for kids to learn programming.

Six women were hired to use their math skills to program the ENIAC computer. They called themselves The First Programmers Club.

Nicky is a Linguistics major who learned coding skills to further her research. She's also finished a PhD, won a few big awards, and co-founded Grok Learning.

Two women created an innovative online service to teach teenage girls how to code by using video.

The new Rust programming language is designed to solve problems with operating systems and fix issues with C and other languages.

Data can become alive and pose questions as well as reveal answers to questions we have.

Links from the bottom of all the articles in this issue, collected in one place for you to print, share, or bookmark.

DRY is an acronym for Don't Repeat Yourself. It's a critical programming concept and skill to learn.

Interesting news stories about computer science, software programming, and technology for August and September 2015.

CoderDojo is a free after school club for kids ages 7-17 where kids, parents, mentors, and others play with technology and learn to code.