Learn the fundamentals of JavaScript, the programming language of the Web.


enrolled students

10 Hours

estimated course time


required technical level

Introduction to JavaScript

Getting Started with Programming

Time to become a coding champ.

Code Your Own Adventure!

Let's create your very own "code your own adventure" game.


Introduction to Functions in JS

This course introduces functions, why we use them, and how to use them. The course also combines functions with other programming concepts previously learned.

Build "Rock, Paper, Scissors"

Make use of functions to program this game.

'For' Loops in JavaScript

Introduction to 'For' Loops in JS

For loops are one of the most commonly used bits of code - it's so powerful and so useful!

Search Text for Your Name

Searching large blocks of text can be tedious, but with JavaScript, it's a breeze! In this project, we'll show you how to search long blocks of text for important information (such as your name).

'While' Loops in JavaScript

Introduction to 'While' Loops in JS

'While' loops are like 'for' loops, only they don't need a counter—they continue to run until their condition is met.

Dragon Slayer!

Let's use our knowledge of 'while' loops to defeat a dragon!

Control Flow

More on Control Flow in JS

When we tell a program what order to do things in, we're using something called control flow. You already know about 'if' statements, but in this course, we'll expand our knowledge!

Code Your Own Adventure 2!

Every good game has a sequel.

Data Structures

Arrays and Objects in JS

In this course, we'll cover some of the more powerful features of JavaScript in greater detail. We'll review arrays, create arrays of arrays, and begin learning about a new data structure: objects.

Contact List

With arrays and objects, we can create a contact list / phone book with ease.

Objects I

Introduction to Objects I

An introduction to object oriented thinking in JavaScript. Objects are the building blocks of object oriented programming (OOP) so we begin here!

Building an Address Book

This project makes use of objects in the context of an address book.

Objects II

Introduction to Objects II

A closer look at objects in JavaScript and an introduction to object-oriented programming concepts.

Building a Cash Register

The cash register has failed and the boss is not happy, help save the day and create your own cash register.

Made in NYC © 2018 Codecademy