Please enable JavaScript to use CodeHS

Tutorials


Clear

Sample B No Scoring

Creator: David Burnham

Math Object in JavaScript

Creator: Ryan Hart

C++ for Java Users

Creator: David Burnham

This tutorial covers the basics of C++ for users that are familiar with Java. It is not an exhaustive list of the differences.

Clearing the Console

Creator: Andy Bayer

ANSI Colors

Creator: Andy Bayer

Understanding ANSI colors in the terminal

Basic Recursion

Creator: David Burnham

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

What are NFTs?

Creator: Jeremy Keeshin

Learn the basics about NFTs

How to set up an Ethereum wallet on MetaMask

Creator: Jeremy Keeshin

Learn how to create your own Ethereum wallet that you control with MetaMask

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.

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.

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!

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?

JavaScript Modules

Creator: Andy Bayer

JavaScript programs in CodeHS now support ES modules. This tutorial shows you how to make the most of them in your JavaScript programs!

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.

Asynchronous Input

Creator: Andy Bayer

Get input in JavaScript programs without the popup!

Juice Programs

Creator: Andy Bayer

Programs used in the Juice webinar!

Using the Monaco Editor

Creator: Danielle Liebman

Into to JS (Corgi) Updates

Creator: Ryan Hart

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

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.

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.

Create 3D Objects with Three.js

Creator: Matt Arnold

In this tutorial, you'll learn about the Three.js JavaScript library and create a 3D model. You'll use geometric shapes, point lights, and a scene camera to develop a 3D scene that includes a geometric object.

Working With Strings in JavaScript

Creator: Ryan Hart

In this tutorial, we will dive into JavaScript strings and explore ways we can work with and manipulate them.

Basic Java Swing Layouts

Creator: David Burnham

In this tutorial, students will learn the basics of Java Swing and how to set up a page and add a simple layout. It is a good place to start if students do not have previous Java Swing experience.

Basic Objects in JavaScript

Creator: Ryan Hart

In this tutorial, we'll take a look at the basics of creating an object with properties and methods in JavaScript.

Advanced Objects (Pt 1) in JavaScript

Creator: Ryan Hart

In this tutorial, you will learn about object constructors and why they are essential for programs that create many objects.

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.

Java Swing Buttons - Layout

Creator: David Burnham

In this tutorial, students will leave about different button components such as buttons, radio buttons, and checkboxes. Students will be adding these into a basic layout in Java Swing.

Add Color with ANSI in JavaScript

Creator: Ryan Hart

In this tutorial, you will learn how to use ANSI sequences to stylize your JavaScript console output.

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.

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.

Using Java Swing Buttons - Events

Creator: David Burnham

This tutorial builds on the Java Swing Buttons - Layout tutorial. In this tutorial, students will learn how to read the status of check boxes, radio buttons, and create button events.

Using n:point for Large Datasets

Creator: Alex Nunez

This tutorial will show how to convert csv data to json, add it to an n:point bin, and access the data in the CodeHS IDE.

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.

Pygame with Karel - Part 1

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.

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.

Pygame with Karel - Part 3

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.

Understand the Java String Pool

Creator: David Burnham

For many, the Java String Pool remains a slight mystery. In this tutorial, you will take a deeper dive into understanding how the String pool works and when Java uses the String pool versus creating a separate object.

Asynchronous Input in Brython

Creator: Saar Sayfan

Get input in your Brython Graphics programs without the popup!

Debugging in JavaScript

Creator: Ryan Hart

In this tutorial, you will learn techniques to help you successfully debug your JavaScript programs.