JavaScript

Join the JavaScript Track
JavaScript is a scripting language, primarily used for creating dynamic websites and programming web servers. It's a very popular language, and supports a variety of programming paradigms.
Join the JavaScript Track
Track mentors

79 Mentors

Our mentors are friendly, experienced JavaScript developers who will help teach you new techniques and tricks.
Track students

29,590 Students

Join thousands of students who have enjoyed learning and improving their skills by taking this track.
Track exercises

96 Exercises

Hundreds of hours have gone into making these exercises fun, useful, and challenging to help you enjoy learning.

About JavaScript

export class HelloWorld {
  hello() {
    return 'Hello, World!';
  }
};

ECMAScript is the standard that defines JavaScript, the language that allows web pages to be dynamic. It is an interpreted language, which means that it doesn't need to be compiled by the programmer: instead the client (such as a web browser) will parse the code and turn it into code that their machine can run - suitable for creating dynamic websites that can run on any browser on any computer!

In addition to use in web pages with modern web browsers, and it can also be executed on servers where the NodeJS platform is installed where it can be used for creating a web server too.

"ECMAScript has grown to be one of the world’s most widely used general purpose programming languages. It is best known as the language embedded in web browsers but has also been widely adopted for server and embedded applications." —ECMA International Language Specification

Starting with the 6th edition (commonly known as ES2015 or ES6) in 2015, a new edition of the standard will be released each year. The 6th edition was a major update which brought many enhancements over ES5, including notably template strings, expressive arrow function syntax, and cleaner syntax for defining classes.

However, support in current browsers is incomplete, and often requires transpilation with a tool like Babel.

_Note: This track supports the latest ECMAScript syntax via Babel and the babel-preset-env plugin, and new experimental features will be enabled with each release of the specification. Here, you will find code that not all browsers are able to run.

Join the JavaScript track

Exercism is a great website

What I like about it is that I am able to solve the challenges in a TDD way working in a environment that I am familiar (my own PC not a browser IDE) and the cherry on the top of the cake is that I have access to code reviews.

Relaxed. Encouraging. Supportive.

Meet the JavaScript Track mentors

Once you join the JavaScript language track, you will receive support and feedback from our team of mentors. Here are the bios of a few of the mentors of this track.

Avatar of Marzi Morovatpasand

Marzi Morovatpasand https://github.com/marzieh312

Really enjoying coding in Javascript and love to be part of the joy of learning it for anybody else :)
Avatar of Ian Fosbery

Ian Fosbery https://www.codeguy.io

I've been a programmer for over 15 years. My day-to-day lately has been JS everywhere. Everywhere. I've really gotten into functional programming in recent years, which is how I tend to write Javascript. But, it can be written in many different ways and it's all about the context.
Avatar of Makan Taghizadeh

Makan Taghizadeh https://github.com/MakanTaghizadeh

I've developed JavaScript professionally for years and I believe JavaScript is the most flexible programming language on the planet. From backend (Node.js) to frontend (React.js, Angular, Vue.js, ...) to mobile devices (React Native, Native Script, ...), you can develop for so many parallel universes with JavaScript.
Avatar of Byron Anderson

Byron Anderson Byron's Programming Blog

Javascript is the language I get to use without asking, so I get to pick and choose to just use 'The Good Parts'!
Avatar of Christoph Lipp

Christoph Lipp https://github.com/ser1us

What can I say... it's Javascript alright :) I try to avoid pure JS as much as I can. But, it's the language of the web and the more you know about its many pitfalls the better :)
Avatar of Alex Zielonko

Alex Zielonko github.com/alexZielonko

I'm one part professional developer and two parts programming enthusiast, shaken with a liberal dash of pragmatism.
Fun. Challenging. Interesting

Community-sourced JavaScript exercises

These are a few of the 96 exercises on the JavaScript track. You can see all the exercises here.

High Scores

easy
arrays

Hamming

easy
control flow conditionals
control flow loops
equality
strings

Simple Linked List

hard
arrays
data structures
lists

Pangram

easy
algorithms
control flow conditionals
control flow loops
lists
maps
searching
strings

Pascal's Triangle

medium
control flow conditionals
control flow loops
strings
text formatting
math

Linked List

medium
algorithms
arrays
control flow conditionals
control flow loops
data structures
lists
optional values
Passionate. Knowledgeable. Creative.

Meet the JavaScript Track maintainers

The JavaScript Maintainers are the brains behind the JavaScript Track. They spend their spare time creating interesting and challenging exercises that we can all learn from. We are incredibly grateful for their hard work. Here are the bios of a few of the maintainers of this track.

Avatar of Derk-Jan Karrenbeld

Derk-Jan Karrenbeld My website

All-round programmer, manager and owner of a Dutch software agency specializing in bespoke and tailored code.
Avatar of Tejas Bubane

Tejas Bubane My blog

Primarily a Ruby & Javascript coder, getting better at functional programming, emacs lover.

Get started with the JavaScript track. As with everything on Exercism, it's 100% free!

Join the JavaScript Track