Skip to main content
All CollectionsAssignmentsLegacy Create
Add Starter Code to an Exercise
Add Starter Code to an Exercise

Add solution code, starter code, and descriptions to exercises in your Playlist or Custom Courses

Meg Fiorentini avatar
Written by Meg Fiorentini
Updated over 5 months ago
Banner: This is a Free Feature.

When you are creating exercises in a Playlist or Custom Course, you can add starter code and instructions for students. 

To create a new exercise:

  1.  Select or Create the Playlist you want it to be part of and select Edit. 

  2. Create a new exercise, by naming the exercise in the left panel, and pressing the Enter key. 

  3. Add instructions that students will see when they access the exercise using the Description tab, and click Save Description when you are finished and click Next.

  4. Add the starter code which the students will see in the code editor page to help them begin in the Code tab.

  5. In the Code tab, you can also add solution code that is only visible to the teacher. Don't forget to click Save when you are finished.

GIF showing how to add starter code to a new activity


Still have questions? Contact our team at hello@codehs.com to learn more!

Did this answer your question?