Please enable JavaScript to use CodeHS

JavaScript Tutorials

  • Music
  • JavaScript
javascript

Visualizing Music with JavaScript

By Calvin Studebaker

High School
  • Booleans
  • JavaScript
javascript

Booleans and Logical Operators in JavaScript

By Ryan Hart

High School
  • Getting Started
  • JavaScript
javascript

User Input in JavaScript

By Rachel Devaney

High School
  • Functions
  • JavaScript
javascript

Basic Functions in JavaScript

By Ryan Hart

High School
  • Loops
  • Lists
  • JavaScript
javascript

Looping Through Arrays in JavaScript

By Rachel Devaney

High School
  • Loops
  • JavaScript
javascript

While Loops in JavaScript

By Rachel Devaney

High School
  • JavaScript
javascript

What is p5.js?

By Zach Galant

High School
  • Graphics
  • JavaScript
javascript

How to use the CodeHS JS Library on your Website

By Zach Galant

High School
  • AP
  • JavaScript
javascript

Sample A CSP Performance Task

By David Burnham

High School
  • AP
  • JavaScript
javascript

Sample B CSP Performance Task

By David Burnham

High School
  • JavaScript
javascript

Programming Sprites in JavaScript

By Andy Bayer

High School
  • Variables
  • JavaScript
javascript

Variables in JavaScript

By Rachel Devaney

High School
  • JavaScript
javascript

The Script Tag

By Evelyn Hunter

High School
  • JavaScript
javascript

If/Else Statements in JavaScript

By Rachel Devaney

High School
  • Math
  • Variables
  • JavaScript
javascript

Basic Math in JavaScript

By Ryan Hart

High School
  • Graphics
  • JavaScript
javascript

Basic Graphics in JavaScript

By Ryan Hart

High School
  • Loops
  • Getting Started
  • JavaScript
javascript

For Loops in JavaScript

By Rachel Devaney

High School
  • Functions
  • Math
  • JavaScript
javascript

Randomization in JavaScript

By Ryan Hart

High School
  • Loops
  • JavaScript
javascript

Break and Continue in JavaScript

By Rachel Devaney

High School
  • Lists
  • JavaScript
javascript

Arrays in JavaScript

By Rachel Devaney

High School
  • Functions
  • JavaScript
javascript

Default Parameters in JavaScript

By Ryan Hart

High School
  • JavaScript
javascript

Methods to Search Through Arrays

By Rachel Devaney

High School
  • Functions
  • JavaScript
javascript

Mouse Events in JavaScript

By Rachel Devaney

High School
  • Math
  • JavaScript
javascript

Math Object in JavaScript

By Ryan Hart

High School