Please enable JavaScript to use CodeHS

Digital Textbooks

Free digital computer science textbooks for middle school and high school students.

Macbook Air

Access From Any Browser

View textbooks from any browser on desktop, mobile, and even Chromebooks!

Top Programming Languages

Use textbooks to teach intro to Java, Javascript, and Python

Interactive Examples

Access interactive programming examples using the CodeHS online IDE.


Introduction to JavaScript

This digital textbook provides an introduction to programming in JavaScript. It teaches the foundations of computer science and basic programming, with an emphasis on logical thinking and problem-solving skills.

Read Full Textbook

COMPANION COURSES:


Introduction to Python

This digital textbook provides an introduction to programming in Python. It teaches the foundations of computer science and basic programming, with an emphasis on logical thinking and problem-solving skills.

Read Full Textbook

COMPANION COURSES:


AP Computer Science A

This digital textbook follows the unit structure laid out by the College Board, and it will help prepare students for the AP CSA exam. It teaches the basics of object-oriented programming with a focus on problem-solving and algorithm development.

Read Full Textbook

COMPANION COURSES: