Please enable JavaScript to use CodeHS

Welcome to CodeHS Practice where you can go through hundreds of free coding problems based on language, topic, and difficulty levels—no CodeHS account required.

Practice - JavaScript

CodeHS Practice FAQ

What is a CodeHS Practice problem?

CodeHS Practice is a curated list of practice problems to help students gain a stronger understanding of basic programming skills. Each Practice problem is autograded meaning students' code will be run through a series of Test Cases to ensure that their code is functionally and stylistically sound, and accomplished the goals of a given exercise.

Who can access CodeHS Practice problems?

Anyone can access the CodeHS Practice problems for free—no CodeHS account required! Simply go to codehs.com/practice and start coding. Note: If you want to track progress, you’ll need to create a CodeHS account.

What programming languages are available?

CodeHS Practice has the most robust coding problems in a variety of programming languages including:

  • JavaScript
  • Java
  • Python
  • C++
  • SQL

What do the status colors mean?

Grey/Unopened - the student has not yet opened the activity

- the student has opened and worked on the activity, but has not completed it

- the student has completed the exercise

What do the points mean?

The point value for each problem indicates the difficulty level. (1 = easy; 10 = difficult). You can see the points by hovering over the dot next to the exercise.