Skip to main content

Copying and Editing CodeHS Assignments

Use the Fork tool to copy and edit CodeHS content and customize it for your course

Jeremy Keeshin avatar
Written by Jeremy Keeshin
Updated this week
Banner Image: This is a Pro feature.

You can fork, or copy, CodeHS assignments to customize them for your students. Once you fork a CodeHS assignment, you can edit or add Quiz questions, change the starter or solution code to an assignment, and more.

What Does 'Fork' Mean?

When you fork a program, or in this case a CodeHS assignment, it means that you are making your own copy to work on, and any changes you make will not affect the original. Forking a CodeHS assignment allows you to make your own, customizable copy without affecting the original.

What Happens to the Original Assignment?

The original assignment is not affected in any way. If it was assigned to your students, it will still be assigned, and none of the content will be affected by any changes you make to the duplicate.

You can unassign or delete the original assignment to avoid having students work on both assignments. (Note: if you fork an assignment that's already been unassigned, the copy will also be unassigned.)

How to Fork and Edit a CodeHS Assignment

To fork a CodeHS assignment and create an editable copy:

  1. Navigate to the Assignments tool and use the dropdowns at the top of the page to select a Course/Section.

  2. Click the three dots (. . .) next to the assignment you'd like to copy.

  3. Select Remix.

  4. Click on Fork Assignment.

  5. Choose between two options:

    1. Create new assignment: The original assignment remains in the course, and the new assignment is created immediately after it.

    2. Replace current assignment: The original assignment is removed from the course and replaced with the new assignment.

  6. Click Remix Assignment, and a copy of the assignment will be made.

Animated GIF demonstrating the process to fork and edit a CodeHS assignment

Note: Teachers with access to AI Creator can Fork with AI, which allows AI to adjust the content and difficulty to the teacher's preference.

Editing Quizzes

You can add additional questions to a forked quiz or edit existing questions. For more information, check out Creating a Custom Quiz.

  • Click Create New Question to add your own questions to the forked quiz.

  • Use the pencil button to edit an existing question.

  • Click the red X next to a question to remove it from the forked quiz.

Image shows the edit quiz module with arrows highlighting buttons to Create New Question, edit a question, and remove question

Import Quiz Questions

You can add additional questions to a forked quiz or custom quiz by importing quiz questions from other quizzes in a course. For more information, check out Creating a Custom Quiz.

To import quiz questions from another quiz:

  1. Click on the Add Questions from Existing Quiz button.

  2. A dropdown with a list of quizzes will appear. Search for the quiz you want to add, select it, and click Submit.

  3. Close the modal and click Edit to reopen, and the new questions should appear.

    GIF demonstrating how to import quiz questions from other quizzes in a course into a custom quiz.

Editing Assignments

Use the tabs to navigate between different fields. You can edit the assignment name and description, starter code, solution code, and more. Use the Preview button to see how the assignment will look for students. Learn more about Creating Custom Assignments.

Gif showing the assignment edit modal switching between the different tabs like activity, starter code, etc

Editing Assignments with an Autograder

Edit a coding exercise's autograder by creating an editable copy of the autograder files:

  1. Click the three dots (. . .) next to an assignment

  2. Select Edit Autograder
    ​

    image displaying how to edit the autograder from the assignments page

  3. Click the green duplicate icon to create an editable copy

  4. Toggle off the original autograder and begin to edit the duplicate copy
    ​

    gif displaying how to create a editable copy of an autograder

πŸ’‘ To edit CodeHS autograders, check out this article for more information: Editing and Configuring CodeHS Autograders πŸ“–

Editing Assignments with AI Grading Rubrics

To edit an AI Grading Rubric or to remove rubric-based grading from a forked assignment:

  1. Navigate to the assignment's edit modal by clicking the [Edit] icon on the Assignment's page

  2. Select the AI Grading tab

  3. Toggle off "Use Rubric-Based AI Grading for this Activity" or edit the rubric under "Rubric Used to Grade this Activity"
    ​

    gif displaying how to edit the AI grading rubric from the assignments page

πŸ’‘Check out this article for more information: Editing AI Grading Rubrics πŸ“–

Accessing Forked Assignments

In addition to being able to edit a forked assignment from your assignments page, all of your previously forked assignments will be accessible via the Create app:
​

Annotated screenshot demonstrating how to access the Create page and find your forked or created assignments there

Copying and Editing Assignments Demo


Forking CodeHS Assignments is a feature available as part of CodeHS Pro. To get Pro for your school, contact our team at hello@codehs.com.

Did this answer your question?