CodeHS lets you create assignments and add them into any Course while you're teaching it. You can do this directly on the Course Assignment Page, or you can create individual assignments on your personal Create page in order to assign them later.

Create and Edit Assignments Directly on the Assignments Page

To create an Assignment directly from your Assignments page, click the Add button in the upper-right:

In the pop-up, enter the Assignment Title and choose which Module and Lesson you want to assign the custom assignment to:

Complete all steps in the pop-up interface to create your new Assignment:

assignment creation menu with four tabs, first is selecting type
  1. Choose Activity Type: Select which type of assignment you want to create. For Coding Exercises, pick from all the languages available on CodeHS including JavaScript, Python, Java, and more! Learn more about the different types of assignments here.

  2. Activity Details: Name the assignment, add a description/directions, starter code, test cases, solution code, and other details (depends on the Activity Type selected)

  3. Configure: Adjust settings for the assignment like Due Dates, Access Controls, and Autograding

  4. Finish: Preview and finalize the Assignment

Editing and Configuring an Assignment

Any assignment you create will have an Edit link to the right of the assignment's name. Note: the Edit link will not show for pre-created CodeHS assignments.

  • Click Edit to change the Activity Details for your assignment.

  • Click the gear icon to configure settings like Due Dates and Access Controls for the assignment.

arrow points to edit button to right of assignment name

Co-Creating and Editing Shared Assignments

Co-teachers with edit permission can edit custom assignments in their shared courses. Learn more about permissions in Adding a Co-Teacher to Your Section and Course.

To edit an assignment:

  1. Navigate to the course Assignments page

  2. Click edit next to the assignment name

  3. Click save after any changes are made

View more information about the assignment in the About tab including the assignment's owner and when it was last edited.

Archive Assignments

If an assignment is not assigned to any course, you can archive it to remove it from your Assignments list. Click ... and then click Archive to archive an assignment:

clicking three dots brings drop down menu. arrow points to archive

If an assignment is assigned to any Course or Playlist, the Archive button will be grayed out and you will not be able to archive it until you un-assign it.

Webinar: How to Build Your Own Assignments on CodeHS

Hosted: Friday, Sep 24, 2021

Still have questions? Contact our team at to learn more!

Did this answer your question?