Sign Up
Start free course

Course

Free

Learn JavaScript

Learn how to use JavaScript — a powerful and flexible programming language for adding website interactivity.

2,169,786 learners enrolled

Syllabus

11 lessons • 12 projects • 8 quizzes

Expand all sections

Welcome to Learn JavaScript

1

Learn about what the JavaScript course has in store!

Informational

Welcome to Learn JavaScript!

2

Introduction

In this course, you will learn about JavaScript data types, built-in methods, and variables.

Lesson

Introduction to JavaScript

Lesson

Variables

Kelvin Weather

Project

Dog Years

Project

Introduction to JavaScript

Quiz

JavaScript Versions: ES6 and Before

Article

Make the Most of Your Codecademy Membership

Article

3

Conditionals

Learn how to use if, else if, else, switch, and ternary syntax to control the flow of a program in JavaScript.

Lesson

Conditional Statements

Magic Eight Ball

Project

Race Dog

Project

Conditional Statements

Quiz

4

Functions

Learn about JavaScript function syntax, passing data to functions, the return keyword, ES6 arrow functions, and concise body syntax.

Lesson

Functions

Rock, Paper, or Scissors

Project

Sleep Debt Calculator

Project

Functions

Quiz

5

Scope

Learn about global and block level scope in JavaScript.

Lesson

Scope

Training Days

Project

Scope

Quiz

6

Arrays

In this course, you will learn about arrays, a data structure in JavaScript used to store lists of data.

Lesson

Arrays

Secret Message

Project

Arrays

Quiz

7

Loops

In this course, you will learn how to use for and while loops to execute blocks of code multiple times.

Lesson

Loops

Whale Talk

Project

Loops

Quiz

8

Iterators

In this course, you will learn how to use iterator methods to simplify the process of looping over arrays.

Lesson

Higher-Order Functions

Grammar Checker

Project

Higher Order Functions and Iterators

Quiz

Lesson

Iterators

9

Objects

Learn about JavaScript ES6 object syntax to model real-world items.

Lesson

Objects

Lesson

Advanced Objects

Meal Maker

Project

Team Stats

Project

Objects

Quiz

10

Next Steps

You’ve completed the Learn JavaScript course! What’s next?

Informational

Learn JavaScript: Next Steps

Projects in this course

Reviews from learners

"It is so helpful to have a thoroughly designed curriculum put together for a step-by-step learning journey. The little coding tasks and bigger projects are well designed to reinforce the concepts."

Dan
Codecademy Learner @ Australia

"The courses are hands-on and allow you to practice as you learn so the concepts stick better. Their Career Paths and interview prep content also offer general insights and helpful tips on job searching in tech."

Ly
Codecademy Learner @ USA

"Great courses and very helpful tips for career build-up! I love the learning methods, very complete with projects and quizzes that help you review your knowledge."

Aleksander
Codecademy Learner @ France

Our learners work at

Join over 50 million learners and start Learn JavaScript today!

Start free course

Made with❤️ in NYC © 2022 Codecademy

About this course

You interact with JavaScript code all the time — you just might not realize it. It powers dynamic behavior on websites (like this one) and plays an important role in many fields, like front- and back-end engineering, game and mobile development, virtual reality, and more. In this course, you’ll learn JavaScript fundamentals that will be helpful as you dive deeper into more advanced topics.

Skills you'll gain

Build core programming concepts

Learn object-oriented concepts

Read and write JavaScript syntax

The platform

Hands-on learning

Don’t just watch or read about someone else coding — write your own code live in our online, interactive platform. You’ll even get AI-driven recommendations on what you need to review to help keep you on track.

Unlock additional features with a paid plan

Practice projects

Guided projects that help you solidify the skills and concepts you’re learning.

Auto-graded quizzes and immediate feedback help you reinforce your skills as you learn.

Assessments

Earn a document to prove you’ve completed a course or path that you can share with your network.

Certificate of completion

See pricing and plans

Kelvin Weather

It's time to build fluency in JavaScript fundamentals. In this next Pro Project, we're going to practice variables and printing to the console in JavaScript...

Project

It's time to build fluency in JavaScript fundamentals. In this next Pro Project, we're going to practice variables and strings in JavaScript so you can hone...

Project

Dog Years

Build a virtual Magic Eight Ball using control flow in JavaScript. You’ll practice building decision-making into your programs and gain confidence in...

Project

Magic Eight Ball

Log In
Start free coursePricingCommunityResourcesCatalog