What on Earth Is JavaScript?

Before we write code, let's figure out what code even is. Seven short pages from Preschool of Kiddie School, about 13 minutes of reading in all.

What you’ll learn

  • What programming really is
  • Why computers need very precise instructions
  • What JavaScript is and what it's used for
  • How HTML, CSS and JavaScript work together
  • A quick (and silly) history of JavaScript
  • Where JavaScript runs today

The pages

Seven pages, about 13 minutes.

  1. What Is Programming? Let's start with a little story. Imagine you just bought a brand-new robot chef. Shiny. Chrome. Very expensive. You…
  2. Meet JavaScript: The Language of the Web Pull out your phone or open your laptop and visit almost any website. YouTube. Gmail. Your bank. Your favorite online…
  3. HTML, CSS & JavaScript: The House Analogy You'll often hear JavaScript mentioned alongside two other technologies: HTML and CSS. Together, these three are the…
  4. A Short (and Slightly Silly) History of JavaScript Gather round, kids. Professor Semicolon is going to tell you a story. It's 1995. The internet is new and exciting…
  5. Where Does JavaScript Live? JavaScript started out living only inside web browsers. But it's moved out of its parents' house and now lives pretty…
  6. Why Learn JavaScript? There are hundreds of programming languages. Why start with this one? Here are our favorite reasons. You already have…
  7. Recap The key ideas of Preschool, What is JavaScript, on one page. A program is a list of precise instructions for a…

Reading is step one

CurlyScript turns these notes into a game: short questions, an explanation after every answer, and a test at the end of each grade. Free, with nothing to sign up for.

Start learning