All Collections
Course Development
Drag and Drop exercise anatomy
Drag and Drop exercise anatomy

Learn about the different parts of a Drag and Drop exercise and how those map to what a student sees on Campus.

Amy Peterson avatar
Written by Amy Peterson
Updated over a week ago

There are many parts to a Drag and Drop exercise and they are each meant for a different part of the student experience. View the screenshot below of a Drag and Drop exercise on Campus and see how the different parts of the finished exercise map to what you build in Teach.

Title: The exercise title will be available just above the exercise's context block and should clearly convey the objective of the exercise.

Instructions: The instructions for the exercise are located underneath the context section. Ensure that you do not have portions of the instructions in the context, as this requires students to go back and forth between the two sections. Instructions should be short, but should also require students to think about how to approach the problem.

Hint: Students ask for this when they need help with an answer. Students must click "Take Hint"  or use Ctrl + H to receive this information. Hints should get students 50% of the way to the answer. Note: Many instructors confuse hints with SCT feedback messages, which are returned following an incorrect submission. SCT feedback messages are generated when a student submits an incorrect solution.

Items: These are the individual boxes that learners must drag from the top of the screen into a certain position. Each item has an id and content. In the content section, you can use Markdown to apply formatting to the item content. The ids of each item should be unique since they play a key role while writing the solution and feedback messages.

Solution and feedback messages: This is the expected solution and is written in YAML. The solution is described in terms of where the items should be placed in the final state. For more details on how to author the solution for a Drag and Drop exercise, please refer to this article. Each item has a corresponding feedback message that is displayed if a learner places that item in the wrong position, so the feedback messages should be unique to each item and provide the learner with insight as to why their choice is incorrect. Feedback messages should not explicitly give away the correct answer.

Success message: The success message is returned to a learner upon successful completion of an exercise. An ideal success message focuses on insights rather than praise.

Did this answer your question?