Please enable JavaScript to use CodeHS

Tutorials


Clear

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!

2D Lists in Python

Creator: Evelyn Hunter

Learn how to create and manipulate 2D lists!

Pygame with Karel - Part 2

Creator: Matt Arnold

Learn about the Pygame Python module and how it can be used to create games in Python. In this tutorial series you'll use some basic Pygame functions to build a mouse-input game where Karel the dog catches falling tennis balls. Prerequisite: Knowledge of basic Python programming constructs including module imports.

CSS Art

Creator: Matt Arnold

Web designers use Cascading Style Sheets (CSS) language to create amazing interactive components on websites. Some artists enjoy creating web art with CSS - often animated art or realistic-looking objects. In this tutorial, you'll use CSS, and a little HTML, to play with emoji shapes and animations. Then take what you learn to create your own amazing CSS art.

Using the Monaco Editor

Creator: Danielle Liebman

Basic Functions in Python

Creator: Ryan Hart

Java Documentation - Basics

Creator: Zach Galant

While Loops in Python

Creator: Rachel Devaney

Learn the basics of while loops in Python.

More String Functions in C++

Creator: David Burnham

Tuples in Python

Creator: Evelyn Hunter

Learn how to store data in a single variable using Tuples!

Java Swing Mouse Events

Creator: David Burnham

In this tutorial, students will look at mouse events in Java Swing. The tutorial assumes some understanding of Java, including ArrayLists and basic Java Swing. Students will create circle objects and use both mouse move and mouse click events.

Math Module in Python

Creator: Ryan Hart

Encryption Ciphers

Creator: Jennifer Campbell

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

Break and Continue in JavaScript

Creator: Rachel Devaney

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

Structs

Creator: David Burnham

Passing Values to Functions in C++

Creator: David Burnham

Java Swing Keyboard Events

Creator: David Burnham

In this tutorial, students will look at keyboard events in Java Swing. The tutorial assumes some understanding of Java and basic Java Swing. Students will create a rectangle object and use keyboard inputs to alter that object.

Arrays in JavaScript

Creator: Rachel Devaney

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

Python For Java Users

Creator: David Burnham

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

Basic Math in Java

Creator: Evelyn Hunter

Indexing Python Strings

Creator: Ryan Molyneaux

Learn how to access specific items by indexing through Python strings.

Default Parameters in JavaScript

Creator: Ryan Hart

Slicing Python Strings

Creator: Ryan Molyneaux

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.

C++ Iterators

Creator: David Burnham

Traversing Arrays in Java

Creator: Evelyn Hunter

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

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().

ArrayLists in Java

Creator: Evelyn Hunter

Learn how to create and use ArrayLists in your programs!

Input and Error Handling

Creator: Jennifer Campbell

In this tutorial, we take a look at the potential impacts of different types of programming errors that could lead to vulnerabilities in the application.

Mouse Events in JavaScript

Creator: Rachel Devaney

Learn how to add mouse events to your CodeHS JavaScript programs!

Encryption and the Modulus

Creator: Jennifer Campbell

Learn how the modulus is used to strengthen encryption.

Pandas Series and Central Tendency

Creator: Jennifer Campbell

In this tutorial, we’ll learn how to build and use a pandas series as well as explore the different measures of central tendency.

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.

Using the Java Debugger

Creator: Calvin Studebaker

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

Using the Python Debugger

Creator: Calvin Studebaker

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

Default Function Values in C++

Creator: David Burnham

HTML Colors

Creator: Jennifer Campbell

Learn how to apply colors in HTML code using RGB and hexadecimal codes.

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.

Java For Python Users

Creator: David Burnham

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

Defining and Accessing Structs

Creator: David Burnham

Into to JS (Corgi) Updates

Creator: Ryan Hart

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

Asynchronous Input

Creator: Andy Bayer

Get input in JavaScript programs without the popup!

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.

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?

Seasonal Geometry

Creator: Andy Bayer

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

Seasonal Geometry Part Two

Creator: Andy Bayer

It's time to create some geometric snow!

Sample A No Scoring

Creator: David Burnham