SOLFIND
Web Lens
Portal home

Tutorials | CodeHS

https://codehs.com/tutorial/ • 322 KB fetched
Open original page


Tutorials | CodeHS

Toggle navigation

*

Products

Elementary | Middle

CodeHop
Standards aligned coding for districts

Tynker
Gamified coding and apps

Typing
Easy to use typing for schools

Middle | High

CodeHS Pro
Comprehensive CS platform

Certifications
Industry based credentials for CTE

Cyber Range
Interactive environment for cybersecurity labs

AI

AI Creator
Easily create lessons with AI

Vibe Coding
Guided AI coding for students

Bool
AI coding and prototyping

Use Cases

Districts

Schools

Teachers

View All Products

*

Products
Explore what CodeHS has to offer for districts, schools, and teachers

*
Elementary | Middle

*

CodeHop Standards aligned coding for districts

*

Tynker Gamified coding and apps

*

Typing Easy to use typing for schools

*
Middle | High

*

CodeHS Pro Comprehensive CS platform

*

Certifications Industry based credentials for CTE

*

Cyber Range Interactive environment for cybersecurity labs

*
AI

*

AI Creator Easily create lessons with AI

*

Vibe Coding Guided AI coding for students

*

Bool AI coding and prototyping

*
Use Cases

*

Districts Comprehensive solutions for districts

*

Schools Tools and resources for schools

*

Teachers Empower educators in the classroom

*

View All Products

*

Platform

Teaching

Assignments
Create & configure your course assignments

Classroom
Manage & organize your class

Grading
Streamline your grading workflow

Academic Integrity
Build a culture of honesty in your classroom

QuizBuzz
Run gamified, interactive quizzes with your class

Tools

Data
Track & analyze student progress data

Write Code
Write, run, & debug code in a web-based IDE

Integrations
Connect CodeHS to your district's platform

AI Tools
The most complete AI toolkit in CS education

LOGIC
Measure student growth with pre- & posttests

*

Platform

*

Assignments
Create & configure your course assignments

*

Classroom
Manage & organize your class with customizable settings

*

Grading
Streamline your grading workflow.

*

Data
Track & analyze student assessments & progress data

*

Write Code
Write, run, & debug code all in a web-based IDE

*

Integrations
Connect CodeHS to your district’s educational platform

*

AI Tools
The most complete AI toolkit in CS education

*

Academic Integrity
Build a culture of honesty in your classroom

*

QuizBuzz
Run gamified, interactive quizzes with your class

*

LOGIC
Measure student growth with pre- & posttests

*

Curriculum

Computer Science Curriculum

Customizable K-12 CS curriculum

Overview

Course Catalog

* AP Courses

* AI Courses

* Interdisciplinary

* Spanish Courses

* AI Literacy

* Digital Literacy

* Cybersecurity

K-12 Pathways

* Elementary School

* Middle School

* High School

Standards

States

Supplemental

* Practice

* Tutorials

* Digital Textbooks

*

Curriculum
Customizable K-12 Computer Science Curriculum

* Course Catalog

*

* AP Courses

* Interdisciplinary

* AI Courses

* Spanish Courses

* AI Literacy

* Digital Literacy

* Cybersecurity

* K-12 Pathways

*

* Elementary

* Middle School

* High School

* States

* Standards

* Practice

* Tutorials

* Digital Textbooks

*

Professional Development PD

Professional Development

Online & in-person training to help teachers grow.

Overview

Online PD Courses

In-Person & Virtual Workshops

AI PD

Free PD Events

PD Cohorts

Teacher Certification Prep

Microcredentials

PD Membership

*

Professional Development
Online & In-Person Training for Teachers

* Professional Development

* Online PD Courses

* In-Person & Virtual Workshops

* AI PD

* PD Cohorts

* Free PD Events

* Teacher Certification Prep

* Microcredentials

* PD Membership

*

Online IDE

Online IDE

Write, run, & debug code right in your browser — no setup required.

Overview

Explore our languages

* JavaScript

* Python

* Java

* C++

* SQL

* HTML

* Tracy

* Blocks

* p5.js

Start a new project

Open a blank sandbox in any language.

New project

*

Online IDE
Write, Run, & Debug Code in an Online IDE

* Online IDE

* JavaScript

* Python

* Java

* HTML

* C++

* SQL

* Karel

* Tracy

* Blocks

* p5.js

*

Resources

Company

About
Learn about the CodeHS mission

Privacy Center
Our privacy & security practices

Case Studies
How schools succeed with CodeHS

Testimonials
What educators say about CodeHS

Community

Read Write Code Blog
News & stories from CodeHS

Coding in the Wild
Real world coding stories

CodeHS on X
Posts & highlights from our feed

Student Projects
Explore projects built by students

Explore

States
CS resources for your state

Knowledge Base
Help articles & how-tos

Career Center
Explore careers in tech

*

Resources

* About

* Privacy Center

* Case Studies

* States

* Testimonials

* CodeHS on X

* Read Write Code Blog

* Coding in the Wild

* Knowledge Base

* Student Projects

* Career Center

*

*

Request a Quote

* Log In

*
Sign Up

New Sandbox Program

Click on one of our programs below to get started coding in the sandbox!

Java

JavaScript

Python 3

HTML

Karel

Turtle

View All

*

*

Curriculum

*

Tutorials

Tutorials
Level up your coding skills with interactive tutorials

Explore our latest free tutorials below

javascript

High School

Visualizing Music with JavaScript

Launch Tutorial

Cybersecurity

* Cybersecurity

Don't Fall for a Phishing Email!

By Jennifer Campbell

High School

Middle School

* Cybersecurity

* Dictionaries

How Strong is Your Password?

By Jennifer Campbell

High School

Middle School

* Cybersecurity

Digital Forensics

By Jennifer Campbell

High School

Getting Started

* Getting Started

Hello world

By Jeremy Keeshin

High School

Middle School

* Getting Started

* Java

java

Printing in Java

By Evelyn Hunter

High School

* Getting Started

* Python

python

Printing in Python

By Evelyn Hunter

High School

Java

* Getting Started

* Java

java

Printing in Java

By Evelyn Hunter

High School

* Lists

* Java

java

Arrays in Java

By Evelyn Hunter

High School

* Input/Output

* Java

java

File I/O in Java

By David Burnham

High School

Data Science

* Data Science

* Python

python

Pandas Series and Central Tendency

By Jennifer Campbell

High School

* Data Science

* Python

python

Measures of Spread

By Jennifer Campbell

High School

* Math

* Data Science

* Python

python

Math Module in Python

By Ryan Hart

High School

Web Design

* Web Design

* HTML

html

HTML Tables

By Jennifer Campbell

High School

Middle School

* Web Design

* HTML

html

HTML Colors

By Jennifer Campbell

High School

Middle School

* Web Design

* HTML

html

HTML Lists

By Jennifer Campbell

High School

Middle School

Math

* Math

Fly Me to the Moon

By David Burnham

High School

* Math

* Java

java

Java Documentation - Basics

By Zach Galant

High School

* Functions

* Math

* JavaScript

javascript

Randomization in JavaScript

By Ryan Hart

High School

Strings

* Strings

* Python

python

Indexing Python Strings

By Ryan Molyneaux

High School

* Strings

* Python

python

Slicing Python Strings

By Ryan Molyneaux

High School

* Strings

* Python

python

Python Strings

By Ryan Molyneaux

High School

Graphics

* Graphics

* JavaScript

javascript

Basic Graphics in JavaScript

By Ryan Hart

High School

* Graphics

* JavaScript

javascript

How to use the CodeHS JS Library on your Website

By Zach Galant

High School

Lists

* Lists

* Java

java

Arrays in Java

By Evelyn Hunter

High School

* Lists

* C++

c++

C++ Iterators

By David Burnham

High School

* Lists

* JavaScript

javascript

Arrays in JavaScript

By Rachel Devaney

High School

Input/Output

* Input/Output

* Java

java

File I/O in Java

By David Burnham

High School

* Input/Output

* C++

c++

Basic I/O in C++

By David Burnham

High School

* Input/Output

* C++

c++

File I/O in C++

By David Burnham

High School

Functions

* Functions

* Java

java

Basic Recursion

By David Burnham

High School

* Functions

* JavaScript

javascript

Default Parameters in JavaScript

By Ryan Hart

High School

* Functions

* Math

* JavaScript

javascript

Randomization in JavaScript

By Ryan Hart

High School

AP

* 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

* AP

* Python

python

Sample A CSP Performance Task

By David Burnham

High School

JavaScript

* JavaScript

javascript

JavaScript Modules

By Andy Bayer

* JavaScript

javascript

Seasonal Geometry Part Two

By Andy Bayer

* JavaScript

javascript

What's New in the CodeHS JavaScript Library?

By Andy Bayer

Python

* Getting Started

* Python

python

Python For Java Users

By David Burnham

High School

* Math

* Data Science

* Python

python

Math Module in Python

By Ryan Hart

High School

* Loops

* Python

python

Break and Continue in Python

By Rachel Devaney

High School

Loops

* Loops

* JavaScript

javascript

Break and Continue in JavaScript

By Rachel Devaney

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

Crypto

* Crypto

What are NFTs?

By Jeremy Keeshin

High School

* Crypto

How to set up an Ethereum wallet on MetaMask

By Jeremy Keeshin

High School

* Cybersecurity

* Java

* Crypto

java

What is Blockchain

By David Burnham

High School

Dictionaries

* Cybersecurity

* Dictionaries

How Strong is Your Password?

By Jennifer Campbell

High School

Middle School

* Dictionaries

* Data Structures

* Python

python

Dictionaries in Python

By Rachel Devaney

High School

* Dictionaries

* Python

python

Comprehensions in Python

By Neel Kishnani

High School

HTML

* Web Design

* HTML

html

HTML Lists

By Jennifer Campbell

High School

Middle School

* Web Design

* HTML

html

HTML Tables

By Jennifer Campbell

High School

Middle School

* Web Design

* HTML

html

HTML Colors

By Jennifer Campbell

High School

Middle School

Variables

* Variables

* JavaScript

javascript

Variables in JavaScript

By Rachel Devaney

High School

* Variables

* Java

java

Variables in Java

By Evelyn Hunter

High School

* Variables

* Python

python

Lists in Python

By Evelyn Hunter

High School

View All Tutorials

Products

* All Products

* Coding LMS

* Online IDE

* CodeHS Pro

* CodeHS Free

* Computer Science Curriculum

* Certifications

* Professional Development

* AI Creator

* Typing

* Cyber Range

Plans

* CodeHS Pro

* Start for Free

* Get a Quote

Use Cases

* District

* Schools

* Teachers

* CTE

Platform

* Assignments

* Classroom Management

* Grading

* Data

* Write Code

* Integrations

* AI Tools

* Academic Integrity

Curriculum

* Course Catalog

* Project Catalog

* K-12 Pathways

* AP Courses

* Elementary

* State Courses

* Spanish Courses

* Standards

* Hour of Code

* Practice

* Tutorials

* Digital Textbooks

* AP CSA Hub

* AI Curriculum

* Digital Literacy Curriculum

PD

* Online PD Courses

* In-Person PD Workshops

* Virtual PD Workshops

* Free PD Workshops

* PD Cohorts

* Teacher Certification Prep

* Microcredentials

* PD Membership

Programming Languages

* New Sandbox Program

* Javascript

* Python

* Java

* HTML

* C++

* SQL

* Karel

Resources

* Why Computer Science

* Why Cybersecurity

* Why Learn AI

* Why Digital Literacy

* Back to School Checklist

* Case Studies

* States

* Testimonials

* Tweets

* CodeHS Blog

* Read Write Code Book

* Knowledge Base

* Webinars

* Student Projects

* Career Center

* Student Alumni

CodeHS Has Everything

* AI

* Grading

* Differentiation

* Elementary

* Assessments

* Academic Integrity

* Online IDE

* Physical Computing

* AP Courses

* Vibe Coding

* Yes

Company

* About

* Team

* Careers

* Privacy Center

* AI Center

* Terms

* Privacy Policy

* Security

* Accessibility

Products

* All Products

* Coding LMS

* Online IDE

* CodeHS Pro

* CodeHS Free

* Computer Science Curriculum

* Certifications

* Professional Development

* AI Creator

* Typing

* Cyber Range

Plans

* CodeHS Pro

* Start for Free

* Get a Quote

Platform

* Assignments

* Classroom

* Grading

* Data

* Write Code

* Integrations

* AI Tools

* Academic Integrity

PD

* Online PD Courses

* In-Person PD Workshops

* Virtual PD Workshops

* PD Cohorts

* Teacher Certification Prep

* Microcredentials

Resources

* Why Computer Science

* Why Cybersecurity

* Why Learn AI

* Why Digital Literacy

* Back to School Checklist

* Case Studies

* States

* Testimonials

* Tweets

* CodeHS Blog

* Read Write Code Book

* Knowledge Base

* Webinars

* Student Projects

* Career Center

* Student Alumni

Use Cases

* District

* Schools

* Teachers

* CTE

Curriculum

* Course Catalog

* Project Catalog

* AP Courses

* Elementary

* State Courses

* Spanish Courses

* Standards

* Practice

* Tutorials

* Digital Textbooks

* AP CSA Hub

Programming Languages

New Sandbox Program

* Javascript

* Python

* Java

* HTML

* C++

* SQL

* Karel

CodeHS Has Everything

* AI

* Grading

* Differentiation

* Elementary

* Assessments

* Academic Integrity

* Online IDE

* Physical Computing

* AP Courses

* Vibe Coding

* Yes

Company

* About

* Team

* Careers

* Privacy Center

* AI Center

* Terms

* Privacy Policy

* Security

* Accessibility

CodeHS Certified Educators
CodeHS Educator Facebook Group
CodeHS Store

Links found on this page

  1. Products [direct]
  2. CodeHop Standards aligned coding for districts [direct]
  3. Tynker Gamified coding and apps [direct]
  4. Typing Easy to use typing for schools [direct]
  5. CodeHS Pro Comprehensive CS platform [direct]
  6. Certifications Industry based credentials for CTE [direct]
  7. Cyber Range Interactive environment for cybersecurity labs [direct]
  8. AI Creator Easily create lessons with AI [direct]
  9. Vibe Coding Guided AI coding for students [direct]
  10. Bool AI coding and prototyping [direct]
  11. Districts [direct]
  12. Schools [direct]
  13. Teachers [direct]
  14. View All Products [direct]
  15. Assignments Create & configure your course assignments [direct]
  16. Classroom Manage & organize your class [direct]
  17. Grading Streamline your grading workflow [direct]
  18. Academic Integrity Build a culture of honesty in your classroom [direct]
  19. QuizBuzz Run gamified, interactive quizzes with your class [direct]
  20. Data Track & analyze student progress data [direct]
  21. Write Code Write, run, & debug code in a web-based IDE [direct]
  22. Integrations Connect CodeHS to your district's platform [direct]
  23. AI Tools The most complete AI toolkit in CS education [direct]
  24. LOGIC Measure student growth with pre- & posttests [direct]
  25. Overview [direct]
  26. Course Catalog [direct]
  27. AP Courses [direct]
  28. AI Courses [direct]
  29. Interdisciplinary [direct]
  30. Spanish Courses [direct]
  31. AI Literacy [direct]
  32. Digital Literacy [direct]
  33. Cybersecurity [direct]
  34. K-12 Pathways [direct]
  35. Elementary School [direct]
  36. Middle School [direct]
  37. High School [direct]
  38. Standards [direct]
  39. States [direct]
  40. Supplemental [direct]
  41. Digital Textbooks [direct]
  42. K-12 Pathways [direct]
  43. Standards [direct]
  44. Tutorials [direct]
  45. Overview [direct]
  46. Online PD Courses [direct]
  47. In-Person & Virtual Workshops [direct]
  48. AI PD [direct]
  49. Free PD Events [direct]
  50. PD Cohorts [direct]
  51. Teacher Certification Prep [direct]
  52. Microcredentials [direct]
  53. PD Membership [direct]
  54. JavaScript [direct]
  55. Python [direct]
  56. Java [direct]
  57. C++ [direct]
  58. SQL [direct]
  59. HTML [direct]
  60. Tracy [direct]
  61. Blocks [direct]
  62. p5.js [direct]
  63. Karel [direct]
  64. About Learn about the CodeHS mission [direct]
  65. Privacy Center Our privacy & security practices [direct]
  66. Case Studies How schools succeed with CodeHS [direct]
  67. Testimonials What educators say about CodeHS [direct]
  68. Read Write Code Blog News & stories from CodeHS [direct]
  69. Coding in the Wild Real world coding stories [direct]
  70. CodeHS on X Posts & highlights from our feed [direct]
  71. Student Projects Explore projects built by students [direct]
  72. Knowledge Base Help articles & how-tos [direct]
  73. Career Center Explore careers in tech [direct]
  74. Request a Quote [direct]
  75. Log In [direct]
  76. Sign Up [direct]
  77. Java [direct]
  78. JavaScript [direct]
  79. Python 3 [direct]
  80. HTML [direct]