Please enable JavaScript to use CodeHS

Tutorials


Clear

What is p5.js?

Creator: Zach Galant

Get a sneak peek at what p5.js is all about.

Intro to Brython - Calculator

Creator: Zach Galant

Introduction to Multiprocessing in C

Creator: Neel Kishnani

Unit Tests in Java

Creator: David Burnham

How to use the CodeHS JS Library on your Website

Creator: Zach Galant

This tutorial shows you how you can use the CodeHS Graphics JavaScript library outside of CodeHS on any website.

Coding in Python: How Fast is Your Code?

Creator: Ashwin Aggarwal

As we learn to use code to solve all types of problems in the world, questioning the efficiency of our programs becomes increasingly important. In this tutorial, you'll learn how to analyze your Python programs' speed and efficiency so you can write fast code!

Comprehensions in Python

Creator: Neel Kishnani

How to use list and dictionary comprehensions in Python.

Which CodeHS Plan is Right for You?

Creator: Meg Davis

CodeHS offers different membership plans to meet your needs. Learn more about plan features below.

Hello world

Creator: Jeremy Keeshin

How to write your first program in a few different languages

Python3 REPL

Creator: Zach Galant

run.sh

Creator: Zach Galant

This tutorial shows you how the `run.sh` file works in the CodeHS IDE.

Sample A CSP Performance Task in Python

Creator: David Burnham

Sample B CSP Performance Task in Python

Creator: David Burnham

Sample A CSP Performance Task in JavaScript

Creator: David Burnham

Sample B CSP Performance Task in JavaScript

Creator: David Burnham

Programming Sprites in JavaScript

Creator: Andy Bayer

Animate sprites using JavaScript to create games in CodeHS

Java in CodeHS

Creator: Andy Bayer

Everything you can do in CodeHS Java programs!

Visualizing Music with JavaScript

Creator: Calvin Studebaker

Step by step guide to creating your own music visualizations with JavaScript!

Boolean Expressions in Python

Creator: Evelyn Hunter

An introduction to Boolean expressions in Python.

How Strong is Your Password?

Creator: Jennifer Campbell

What are some ways that you keep your personal data secure and private? Do you use strong passwords? How would you rate the strength of your passwords? In this tutorial, learn how to create a password that can combat hacking attempts such as brute force attacks, dictionary attacks, and algorithm attacks.

Variables in JavaScript

Creator: Rachel Devaney

Learn the basics of variables in JavaScript.

The Script Tag

Creator: Evelyn Hunter

Learn how to incorporate JavaScript code onto a website using the script tag.

User Input in Java

Creator: Evelyn Hunter

Learn how to accept user input in Java.

If/Else Statements in JavaScript

Creator: Rachel Devaney

Learn the basics of if/else statements in JavaScript.

Basic Math in JavaScript

Creator: Ryan Hart

Don't Fall for a Phishing Email!

Creator: Jennifer Campbell

Phishing is a method used to gather personal information such as usernames and passwords using deceptive emails and websites. Learn how to recognize and avoid these types of malicious emails in this tutorial!

Variables in Java

Creator: Evelyn Hunter

Learn how to store data in Java.

HTML Lists

Creator: Jennifer Campbell

Learn how to use ordered and unordered lists in HTML.

HTML Tables

Creator: Jennifer Campbell

Learn how to create tables in HTML.

Basic I/O in C++

Creator: David Burnham

Basic Graphics in JavaScript

Creator: Ryan Hart

Python Comments

Creator: Ryan Molyneaux

Learn about comments and how to create them in the Python language.

Variables in Python

Creator: Rachel Devaney

Learn the basics of variables in Python.

Casting in Java

Creator: Evelyn Hunter

Learn how to convert variables of one type into another.

Casting in Python

Creator: Evelyn Hunter

Learn how to convert variables of one type into another.

Python Conditionals: If, Else, Elif

Creator: Ryan Molyneaux

Use conditionals to teach your program to make decisions based on the information it receives.

Randomization in Python

Creator: Evelyn Hunter

Learn how to make programs more exciting through randomization!

User Input in JavaScript

Creator: Rachel Devaney

Learn how to accept user input in your JavaScript programs.

Booleans and Logical Operators in JavaScript

Creator: Ryan Hart

Loops in C++

Creator: David Burnham

Caesar and Vigenere Ciphers

Creator: Jennifer Campbell

In this tutorial, you will learn about two very early encryption systems known as the Caesar and the Vigenère ciphers.

File I/O in C++

Creator: David Burnham

For Loops in JavaScript

Creator: Rachel Devaney

Learn the basics of for loops in JavaScript.

String Basics in C++

Creator: David Burnham

Basic Math in Python

Creator: Ryan Hart

Booleans and Logical Operators in Python

Creator: Ryan Hart

Randomization in JavaScript

Creator: Ryan Hart

For Loops in Python

Creator: Rachel Devaney

Learn the basics of for loops in Python.

Printing in Python

Creator: Evelyn Hunter

Learn how to print information in Python out onto a console.

Lists in Python

Creator: Evelyn Hunter

Learn how to store multiple values and variables in one place!