Banner: free feature

The CodeHS Sandbox is a place where you can write programs outside of the bounds of an exercise. In the Sandbox, you can start a program starting from scratch in any of our programming languages and create anything that you can imagine. 

Teachers can use the Sandbox to assign individual projects, midterms, and end of year assignments, or as a way to encourage students to work on their coding skills outside the classroom.

To access the Sandbox

  • Click on the Sandbox link in the top left corner of any page

Screenshot highlighting the Sandbox tab in the top-left
  • Name your program then click Create Program

Screenshot highlighting the Create Program button on the Sandbox page
  • Select any one of the programming languages from the CodeHS curriculum, or additional languages such as Elm, SQL, C, and C++.

Available Program types

To view students' Sandbox programs

Choose a student from the roster page, and then click Student Sandbox under Teacher Links in the left side navigation bar. 

animated .gif showing the flow to find the Student Sandbox

Students can also create and edit their very own website, which is hosted by CodeHS, by clicking on Edit My Homepage. Every student can access and share their personalized web page by going to their username followed by

Sharing and Embedding Sandbox Programs

There are many ways to share a Sandbox program, including sharing a link and embedding it in another webpage. Click here to learn more about sharing and embedding Sandbox programs.

Banner: This is a Pro feature

View all student Sandbox Programs with Class Sandbox

With CodeHS Pro, you can view all your students’ Sandbox problems in one place. Simply navigate to your Sandbox and click View Class Sandbox! From there, you are able to easily filter and sort through student programs. To view a student's Sandbox page , you can select their name and press View Student Sandbox or you can click their name in the table.

Screenshot highlighting View Class Sandbox button

You can also add programs that you or students have created to your Playlists! To learn more, check out Adding Sandbox projects to a Playlist.

Class Sandbox is available as part of CodeHS Pro. To get CodeHS Pro for your school, contact our team at

Did this answer your question?