Codédex | Learn JavaScript

JavaScript

Learn variables, loops, functions, and events to start building interactive web apps with the programming language of the web – JavaScript!

Prerequisites:

Time to complete: 22h

+136.7K learners

The Console

Learn how to write your first line of JavaScript by logging messages to the console.

Exercise 1

Setting Up
Start

Exercise 2

The Console

Exercise 3

Letter Tree

Exercise 4

Secret Recipe

Exercise 5

Receipt

Variables

Create variables and learn about data types, and arithmetic operators.

Exercise 6

Let & Const
Start

Exercise 7

Data Types

Exercise 8

Temperature

Exercise 9

BMI

Exercise 10

Planet Weight

Conditionals

Use logical operators to control the order of program execution.

Exercise 11

Coin Flip
Start

Exercise 12

Good Morning

Exercise 13

Good Afternoon

Exercise 14

pH Levels

Exercise 15

Magic 8 Ball

Loops

Repeat a block of code with while loops and for loops over, and over, and over again.

Exercise 18

Duck Duck Goose
Start

Checkpoint Project

Practice your JavaScript skills with a checkpoint project! Choose from one of three projects and submit your code when you're done. Your project is reviewed by a mentor when you request a course certificate.

Arrays

Learn how to create, access, and update an array.

Exercise 23

Five Boroughs
Start

Functions

Define and call a function – a reusable block of code that performs a specific task.

Exercise 29

Greetings
Start

Objects

Create a data type and use them to model everyday objects with unique characteristics and behaviors.

Exercise 34

Pizza Party
Start

Trifecta

It's time to put HTML, CSS, and JavaScript all together!

Exercise 39

Green Light Go!
Start

Final Project

Complete all exercises to unlock the Final Project. Ready to start building? Use the skills you've gained throughout the course to build out a fully-fledged JavaScript project!

Final Project

Course Certificate

Finished with this course? Request a certificate to celebrate your hard work! To be eligible to request a certificate, make sure you submit the following project(s) and have them reviewed by a code mentor:

Want to learn more about JavaScript?

Ask me anything.