Please enable JavaScript to use CodeHS

Tutorials


Clear

Hello world

Creator: Jeremy Keeshin

How to write your first program in a few different languages

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!

Visualizing Music with JavaScript

Creator: Calvin Studebaker

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

Printing in Java

Creator: Evelyn Hunter

Learn how to print values to the console using Java!

Arrays in Java

Creator: Evelyn Hunter

Learn how to store data in increasingly complex ways!

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.

File I/O in Java

Creator: David Burnham

C++ Iterators

Creator: David Burnham

Sample A CSP Performance Task

Creator: David Burnham

Sample B CSP Performance Task

Creator: David Burnham

How to use the CodeHS JS Library on your Website 2

Creator: Andy Bayer

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

Math Module in Python

Creator: Ryan Hart

Boolean Expressions in Python

Creator: Evelyn Hunter

An introduction to Boolean expressions in Python.

Using the Java Debugger

Creator: Calvin Studebaker

Learn how to use the pause-step Java Debugger on CodeHS

What's New in the CodeHS JavaScript Library?

Creator: Andy Bayer

We've updated our JavaScript exercises to use a new version of our JavaScript library. What's different?

Into to JS (Corgi) Updates

Creator: Ryan Hart

Learn about some of the major changes in the new Intro to JavaScript (Corgi) course!

Loops in C++

Creator: David Burnham

What is Blockchain

Creator: David Burnham

This tutorial covers the basics of what blockchain technology is and how it works. It also will demonstrate a basic blockchain algorithm.

Variables in JavaScript

Creator: Rachel Devaney

Learn the basics of variables in JavaScript.

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.

Encryption Ciphers

Creator: Jennifer Campbell

This tutorial goes over cryptography and a few well-known ciphers.

Traversing Arrays in Java

Creator: Evelyn Hunter

Learn how to find what you're looking for in an array!

Intro to Brython - Calculator

Creator: Zach Galant

Break and Continue in JavaScript

Creator: Rachel Devaney

Learn how to use the break and continue statements in your JavaScript programs.

Animate 3D Objects with Three.js

Creator: Matt Arnold

In this tutorial, you'll create an animated 3D model with the Three.js library. You'll use geometric shapes, an orbit control system, and an animation function to develop a rotating 3D object that users can explore.

Using the Python Debugger

Creator: Calvin Studebaker

Learn how to use the pause-step Python Debugger on CodeHS

Methods to Search Through Arrays

Creator: Rachel Devaney

Learn some helpful array methods that enable you to search through elements in an array: indexOf, includes(), find(), and filter().

Basic Functions in Python

Creator: Ryan Hart

The Script Tag

Creator: Evelyn Hunter

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

Arrays in JavaScript

Creator: Rachel Devaney

Learn how to create arrays in JavaScript as well as how to add, change, and remove items.

Strong vs Bold in HTML

Creator: Matt Arnold

Learn about the differences between <strong> and <bold> tags and when to use different HTML5 semantic tags.

Asynchronous Input

Creator: Andy Bayer

Get input in JavaScript programs without the popup!

User Input in Java

Creator: Evelyn Hunter

Learn how to accept user input in Java.

Programming Sprites in JavaScript

Creator: Andy Bayer

Animate sprites using JavaScript to create games in CodeHS

If/Else Statements in JavaScript

Creator: Rachel Devaney

Learn the basics of if/else statements in JavaScript.

ArrayLists in Java

Creator: Evelyn Hunter

Learn how to create and use ArrayLists in your programs!

Try Catch In Java

Creator: David Burnham

This tutorial covers the basics of try and catch statements in Java. It is intended as an introduction to the concept and assumes some basic Java prior knowledge.

Basic Math in JavaScript

Creator: Ryan Hart

Python For Java Users

Creator: David Burnham

This tutorial is a very basic overview of Python for users that have Java experience.

Sample A No Scoring

Creator: David Burnham

Java Documentation - Basics

Creator: Zach Galant

Sample B No Scoring

Creator: David Burnham

Basic Recursion

Creator: David Burnham

This tutorial covers basic recursion in Java. The principles of recursion can be applied to any language.

Variables in Java

Creator: Evelyn Hunter

Learn how to store data in Java.

Unity Coding - Part 2

Creator: Matt Arnold

You'll walk through the process of coding a Unity C# script in this tutorial series. This part adds script required to make a video game character run forward and instructions for testing a C# script file in Unity.

Unity Coding - Part 3

Creator: Matt Arnold

You'll walk through the process of coding a Unity C# script in this tutorial series. This part adds the script required to make a character jump and turn based on player input.

Structs

Creator: David Burnham

Java For Python Users

Creator: David Burnham

This tutorial is a very basic overview of Java for users that have Python experience.

Unity Coding - Part 1

Creator: Matt Arnold

You'll walk through the process of coding a Unity C# script in this tutorial series. This beginning tutorial gets things started with a developer's basic set up, starting a C# script file, and using the Unity Scripting API.

Seasonal Geometry

Creator: Andy Bayer

Deck the halls with trigonometry! We're using the sine function to create a holiday scene.